I'm struggling to get the color boxes to display horizontally with spaces between them. Currently, they are showing up vertically in a column layout.
I want 4 smaller color boxes within a larger grey box at the top layer, with margins and padding applied.
I have tried using the "div" tag, but it only seems to work for the first one. How can I align these boxes horizontally and create space between them? Any help would be appreciated.
.header_box {
width: 100%;
background: #ccc;
display: -webkit-box;
}
.box {
width: 150px;
height: 40px;
margin: 20px;
}
// more CSS code here...