MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/css/comments/lzf5f2/when_my_css_is_missing_that_little_something/
r/css • u/BoltKey • Mar 07 '21
12 comments sorted by
10
Wait are filters the new way to box shadows? What happened to box-shadows?
9 u/BoltKey Mar 07 '21 They are a bit different thing. Box shadows draw shadow around the element frame, while drop shadow works with the alpha of the element and casts shadow accordingly.
9
They are a bit different thing. Box shadows draw shadow around the element frame, while drop shadow works with the alpha of the element and casts shadow accordingly.
59
Drop a little border radius on there too
22 u/philisweatly Mar 07 '21 4px. Juuuuuuust enough. 3 u/kry_some_more Mar 10 '21 Actually, you want to apply multiple shadows as well
22
4px. Juuuuuuust enough.
3
Actually, you want to apply multiple shadows as well
31
Missing RGBA transparency.
3 u/philisweatly Mar 07 '21 .2 FTW
.2 FTW
When in doubt, add white space.
Not to mention the inset shadow
2
O fuck ya boiiiii
1
Hehe boiiiii XD
I refuse to use this since I'm scared for browser support
10
u/tatarjr Mar 07 '21
Wait are filters the new way to box shadows? What happened to box-shadows?