6
Finally figured out why my CSS grid kept breaking after 3 weeks
Turns out I was putting commas between grid-template-areas values instead of spaces lol, a random Stack Overflow comment from 2019 tipped me off. Has anyone else spent way too long debugging a single character like that?
3 comments
Log in to join the discussion
Log In3 Comments
felix_hayes641mo ago
Heard someone say once that CSS is basically just "guess the invisible character" and that's stuck with me ever since... definitely been there with missing semicolons myself.
3
alice2691mo ago
Is it just me or does every CSS bug end up being something that simple, @felix_hayes64? One missing semicolon can wreck an entire layout, it's wild. I've spent hours chasing a ghost only to find it was a typo I glanced right over.
3
hayden_nelson8521d ago
@felix_hayes64 nailed it, that quote is way too accurate for comfort.
2