<div>
  123
<div>
div{
  background:red;
  position:relative;
  width:100px;
  margin:0 auto;

}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.