2 ms·
CSS Grid is the nice API. It fits my mental model for 90% of layout use cases. Flexbox makes responsiveness a lot nicer, and it definitely passable. > but just
by nicoburns 6y ago
CSS Grid is the nice API. It fits my mental model for 90% of layout use cases. Flexbox makes responsiveness a lot nicer, and it definitely passable.
> but just looking at the raw HTML always leaves me a bit confused how elements on the page will relate to each other.
Generally you shouldn't be able to determine layout from the raw HTML. HTML should be semantic. CSS determines layout and styling.
- runawaybottle 6y agoI somewhat disagree with this. The semantic structure should naturally define the layout.