Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
}
#main {
  width:100px;
  padding:50px;
  background-color:lightblue;
  outline: 5px solid;
  outline-color: red;
}
</style>
</head>
<body>
<h1>The outline-color property</h1>
<div id="myDIV">
  <div id="main">
    The outline property specifies a border outside of the element.
  </div>
</div>
</body>
</html>