H
20

My first CSS project broke my whole layout after 2 hours of work

I was building a simple personal page for my portfolio last night around 10pm, and I thought I had the grid figured out from a tutorial. Then I added one extra div and everything just scattered across the screen like confetti. Does anyone else run into weird layout bugs with CSS Grid that don't make any sense at first glance?
2 comments

Log in to join the discussion

Log In
2 Comments
cole_bailey85
Dude yes, I spent three hours fighting a grid layout that just WOULDN'T snap into place, turned out I missed a closing bracket on one line. So frustrating when it looks right but acts totally wrong.
5
wendy674
wendy6746d ago
@cole_bailey85 oh man I feel your pain. Did something similar last week with a div that just kept floating off to the left and I couldn't figure out why. Turns out I had a typo in the class name and it wasn't even reading my CSS. Three hours gone just like that.
3