Figma Support Forum

Filter: drop-shadow wrong css provided

  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.