Skip to content

Display #3 Difference #1

Description

@ejmoyer

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions