-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Labels
Closed Accepted by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-box-3Current WorkCurrent Work
Description
From the CSS Box Alignment Module Level 3 Editor’s Draft:
The gap property, and its row-gap and column-gap sub-properties, provide this functionality for multi-column, flex, and grid layout.
Shouldn't gap
and row-gap
be functional in block layout too?
e.g.
<ul style="row-gap: 2em;">
<li>
No space above this item
</li>
<li>
Space between this item and the ones above and below it
</li>
<li>
No space below this item
</li>
</ul>
Of course you can get the same effect with margins, but the gap
properties are considerably more elegant/cleaner.
Metadata
Metadata
Assignees
Labels
Closed Accepted by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-box-3Current WorkCurrent Work