31
I finally tried named grid lines over numbers
I used to argue grid numbers were fine. Then I had to modify a 3-month old layout and spent 20 minutes counting columns. Named lines saved me that headache in under a minute.
2 comments
Log in to join the discussion
Log In2 Comments
mark_fisher489d ago
the real hidden win with named lines is when you start using them as logical landmarks, like 'sidebar-end' or 'footer-start', and suddenly your whole layout reads like a map instead of a math problem. saves so much time when you come back to it later.
-1
josephf109d ago
Hold up @mark_fisher48, named lines need brackets in CSS Grid, like [sidebar-end], or they won't work right.
6