<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа</title>
<style>
div.ex1 {
margin: 20px;
border: 2px dotted #000;
background-color: #8ebf42;
outline: 4px solid #666;
outline-offset: 10px;
}
</style>
</head>
<body>
<h2>Пример свойства outline-offset</h2>
<div class="ex1">Значение свойства outline-offset равно 10px</div>
</body>
</html>