<div style="border: 1px solid #ccc;"> <div class="box"></div> </div>
.box{ margin: 20px; height: 100px; width: 100px; display: inline-block; background: blue; }
This Pen is owned by Devdojo on CodePen.
See more by @devdojo on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.