<div class='div1'></div>
<div class='div2'></div>
.div1 {
width: 300px;
height: 100px;
background: red;
}
.div2 {
width: 300px;
height: 100px;
background: green;
padding: 10px;
box-sizing: border-box;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.