cssFilters icon indicating copy to clipboard operation
cssFilters copied to clipboard

Generated CSS Background Property Missing %

Open bradvin opened this issue 6 years ago • 1 comments

hey guys - awesome project.

I noticed an issue with the generated CSS for the background property.

example, for XPro2, the generated CSS for the background is:

background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40, rgba(43, 42, 161, 0.6));
background: radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40, rgba(43, 42, 161, 0.6));

It should be:

  background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));
  background: radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));

The % was missing after the 40, which results in invalid css

bradvin avatar Feb 18 '19 08:02 bradvin

Thank you for sharing. I opened PR #15 for the issue!

acupoftee avatar Oct 01 '19 01:10 acupoftee