I want to control the blurring curve of box-shadow
using cubic bezier functions
#60
aarongustafson
started this conversation in
Wants
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the current implementation of
box-shadow
, the blur is pretty linear. In other words, the drop in transparency happens in linear steps from the specific color to transparent. If we were able to set a cubic bezier curve to control the steps in transparency of the blur, then we would be able to create nicer and more realistic looking drop shadows.For examples, see:
https://webwewant.fyi/wants/5f0c787397d820f26120215c/
Beta Was this translation helpful? Give feedback.
All reactions