3
I finally stopped overusing box-shadow after a senior dev called me out
I was building a card UI for a client project and had like 8 layered box-shadows on every element to make it look 'premium' lol. A senior dev on the team just said 'your shadows are fighting each other, try using one with a blur and let the layout breathe.' Swapped to a single subtle shadow and the whole thing popped way more with half the code. Anyone else get humbled by a simple CSS critique that made you rethink your whole approach?
2 comments
Log in to join the discussion
Log In2 Comments
rayc834d ago
Hah, yeah. I used to pile on shadows like crazy until someone told me to stop.
1
josephb354d ago
Used to pile on shadows like crazy" - man that one hit me right in the gut! I remember my first year trying to use makeup and I was just stacking layers of dark shadow under my eyes thinking it looked good. Nobody told me to stop, I just slowly realized I looked like I had two black eyes every time I went out. It took way too long to figure out less is more with shadows. Still catch myself going too heavy sometimes when I'm in a rush though!
5