2 ms·
> CSS grid works with a 12-grid arrangement, where the screen is (invisibly) divided into 12 parts, and items must fit into this arrangement. Is the '12-grid a
by karmakaze 6y ago
> CSS grid works with a 12-grid arrangement, where the screen is (invisibly) divided into 12 parts, and items must fit into this arrangement.
Is the '12-grid arrangement' part of CSS or just a convention used by current web devs? [I'm a curious back-end dev.]
- pedrogpimenta 6y agoYes, it's almost like a standard, but it is optional. Some people like 16 columns. I personally use 12 but have used 16 in a project that required smaller segments. This comes from paper design, as usual, and I don't think 12 was the number. It's just a number that makes sense for desktop screens (where it began).
- schwartzworld 6y ago12 is just a good number for dividing up the screen that supports common column based layouts. 1-4 columns is a cinch.