#box1 { background-color: blue; color: white; border: 2px solid lightblue; } #box2 { background-color: red; color: white; border: 2px solid #FFCBE1; } #box3 { background-color: yellow; color: black; border: 2px solid #F3C117; } #box4 { background-color: green; color: white; border: 2px solid lightgreen; } .box { width: 150px; height: 150px; } #container { border: 1px solid #999; }