Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h2 {
  outline-style: solid;
  outline-width: thin;
}
div.a {
  outline-style: solid;
  outline-width: thin;  
}
div.b {
  border: 1px solid red;
  outline-style: solid;
  outline-width: thin;
}
</style>
</head>
<body>
<h1>The outline-width Property</h1>
<h2>A Heading with a thin outline</h2>
<div class="a">A div element with a thin outline.</div>
<br>
<div class="b">Notice that the outline is outside of any border.</div>
</body>
</html>