<div class="box1">BOX 1</div>
<div class="box2">BOX 2</div>
<div class="box3">BOX 3</div>
.box1 {
background-color: skyblue;
width: 50px;
height: 50px;
display: inline-block;
}
.box2 {
background-color: yellow;
width: 50px;
height: 50px;
display: inline-block;
}
.box3 {
background-color: red;
width: 50px;
height: 50px;
display: inline-block;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.