Skip to content

Theory behind the shadows #109

Answered by argyleink
roblevintennis asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@roblevintennis
Comment options

Answer selected by roblevintennis
Comment options

You must be logged in to vote
2 replies
@argyleink
Comment options

@roblevintennis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants