Theory behind the shadows #109
-
The shadows are nice! I've read from time to time some Google articles (I think) about these sorts of multi-layered shadows but I forget how the theory works. Did you based yours off of a methodology I can go read about to refresh myself there? Kudos on these :-) This is a separate question so sorry if it should be in its own thread but I've already opened too many haha:
That's essentially telling post css don't neuter |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hi again! 🙂 the shadows are an adaptation of output from this great tool https://shadows.brumm.af/. I took the sub pixel values out of it and used hsl so i could make it adaptive to light/dark. for additional study you can check this out, which is another adaptation of the easing shadows from Brumm https://www.joshwcomeau.com/css/designing-shadows/ 👍🏻 and yep, |
Beta Was this translation helpful? Give feedback.
-
I've marked this as answered but I have another question/concern reading the designing shadows article. I was actually was wondering intuitively what the performance impacts of layering these shadows might be in terms of practical usage throughout a web app across various device types? It seems there's a big warning about this in the article. |
Beta Was this translation helpful? Give feedback.
hi again! 🙂
the shadows are an adaptation of output from this great tool https://shadows.brumm.af/. I took the sub pixel values out of it and used hsl so i could make it adaptive to light/dark. for additional study you can check this out, which is another adaptation of the easing shadows from Brumm https://www.joshwcomeau.com/css/designing-shadows/ 👍🏻
and yep,
"logical-properties-and-values": false
is to tell the compiler to not create physical properties as fallbacks and dont prefix any logical properties. they're stable in all major browsers now, and def kick butt, i love em.