cssFilters
cssFilters copied to clipboard
Generated CSS Background Property Missing %
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
Thank you for sharing. I opened PR #15 for the issue!