T
20

Hit 100 grid lines on a single layout and Chrome almost gave up on me

I was working on a dashboard for a local restaurant's inventory system, and I ended up with over 100 grid lines in one CSS file. The page took almost 4 seconds to load on my old laptop, which is crazy for a simple data table. I had to go back and group things into nested grids instead of just stacking everything in one container. After trimming it down to about 30 lines, the load time dropped to under half a second. Made me realize how easy it is to overuse grid when a simpler setup works better. Has anyone else hit a wall with too many grid lines slowing things down?
2 comments

Log in to join the discussion

Log In
2 Comments
willow_anderson85
Honestly, 4 seconds isn't that bad, @rose_murray sounds way more dramatic than this actually is.
5
rose_murray
Threw out half the tupperware in my kitchen cabinet last week for basically the same reason.
-1