.box1 { background-color: orange; } .box2 { background-color: pink; height: 500px; } .box3 { background-color: turquoise; height: 300px; width: 300px; } .box4 { background-color: slateblue; width: 50%; height: 30%; } .box5 { background-color: beige; width: 2em; height: 5em; overflow: hidden; }