|
#display-03 div { |
|
display: inline; |
|
border: thin solid green; |
|
padding: 5px; |
|
background: green; |
|
} |
I used just display: inline; instead of inline-block.
I also used padding and a background to make them filled squares. Didn't know if you wanted them filled or not.
Turns out they were rectangles and not squares. Next time I'll use width/height.
css-positioning-lab/my-styles.css
Lines 12 to 17 in dd18b2b
I used just display: inline; instead of inline-block.
I also used padding and a background to make them filled squares. Didn't know if you wanted them filled or not.
Turns out they were rectangles and not squares. Next time I'll use width/height.