3 ms·
I typically use a subset of CSS. Get good at whatever grid framework you use and internalize that the layout will ultimately just be boxes inside of boxes insid
by runawaybottle 6y ago
I typically use a subset of CSS. Get good at whatever grid framework you use and internalize that the layout will ultimately just be boxes inside of boxes inside of boxes, with some boxes spanning a row, etc (grids within grids within grids). That should always cover being able to achieve whatever layout you want (not just the page layout, component layouts as well).
Yeah, put this on and master the grid:
https://youtu.be/S5S6s5dZXNM https://youtu.be/S5S6s5dZXNM
Then start targeting down into your grid for specific things you need to style.
Getting the first part down will set you up for an easy time on the second part. Don’t try to look at a <Button /> and try to figure out if it’s gotta be flex-end or anything like that at first. Put that sucker in a grid item and don’t worry about it initially. You want to refine your ability to control things, and if you get fancy with CSS initially you will not get a handle on it.