3 ms·
Honestly gonna try this out because I've been rewriting my personal website in plain HTML/CSS and I have a bit of trouble positioning things. Thanks!
by Karsteski 5y ago
Honestly gonna try this out because I've been rewriting my personal website in plain HTML/CSS and I have a bit of trouble positioning things.
Thanks!
- klabb3 5y agoFlexbox is much easier to grok than the old ways of floats and clearfix. Hot tip: Use different background colors when you play around so you can see each of the elements.
- chrismorgan 5y agoFirefox dev tools have some useful stuff for identifying such things in flex and grid, handy for flexbox and extremely useful in grid. In the DOM tree in the Inspector tab, you click on the “flex” or “grid” label and it enables it, or enable it in the Layout subtab on an element. I think Chromium has decent tooling along these lines now too.