27
Showerthought: Is cleaner CSS always better than faster CSS?
Last Tuesday I spent 6 hours building a pure CSS landscape scene for a battle. My final code was 285 bytes and looked amazing. But a guy in the comments posted a version that was 340 bytes but rendered 1.2 seconds faster on mobile. He used a few extra divs and a hacky calc() trick. I keep going back and forth on which approach is actually "winning." Does the community value minimal code more or real-world performance? I'm curious where you all draw that line.
1 comments
Log in to join the discussion
Log In1 Comment
kim.hannah10h ago
You're overthinking a 1.2 second difference, just pick one and move on lol.
0