6 ms·
You can actually enable a CSS-only hack[1] to avoid using the comments. Using `display: inline-block;` allows you to manipulate grids with text-level propertie
by csswizardry 12y ago
You can actually enable a CSS-only hack[1] to avoid using the comments.
Using `display: inline-block;` allows you to manipulate grids with text-level properties (e.g. `text-align: center;` to cause grid items to fill out from the center of the row), and also allows you to use `vertical-align: [top|middle|bottom];` to cause columns to start from different, well, alignments.
[1] https://github.com/csswizardry/csswizardry-grids/blob/master/csswizardry-grids.scss#L103-L115 https://github.com/csswizardry/csswizardry-grids/blob/master...