Skip to main content

Filter: drop-shadow wrong css provided


dpelovski
  1. The generated css for filter with multiple drop-shadows is wrong

  2. filter-dropshadow

The provided value is
filter: drop-shadow(0px 0.25px 1px rgba(0, 0, 0, 0.039)), drop-shadow(0px 0.85px 3px rgba(0, 0, 0, 0.19));

Although the values seem to be correct, the syntax for filter is not.
The correct css is:
filter: drop-shadow(0px 0.25px 1px rgba(0, 0, 0, 0.039)) drop-shadow(0px 0.85px 3px rgba(0, 0, 0, 0.19));

The only difference is there is a comma separating the different drop-shadows, however the syntax is without a comma. Can be tried easily in a browser.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings