cssFilters icon indicating copy to clipboard operation
cssFilters copied to clipboard

Add percent units to color stops

Open acupoftee opened this issue 5 years ago • 0 comments

This PR address issue #13

Percentage units were added to all four gradient properties in codeblock.jsx.

This produces the correct CSS. Here's an example for XPro2:

Screen Shot 2019-09-30 at 9 23 28 PM

Full CSS:

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));

acupoftee avatar Oct 01 '19 01:10 acupoftee