3 ms·
I'd strongly advise learning what modern CSS can do thanks to grid, flex, column-count, gap, and rem units before bloating DOM tree diffs with empty div tags.
by wildpeaks 5y ago
I'd strongly advise learning what modern CSS can do thanks to grid, flex, column-count, gap, and rem units before bloating DOM tree diffs with empty div tags.
- nrbernard 5y agoExactly. It seems like the conclusion of the post should really be: don't apply layout styles to elements if their parent elements are responsible for layout.