Skip to content

Add percent units to color stops#15

Open
acupoftee wants to merge 1 commit intoghosh:masterfrom
acupoftee:master
Open

Add percent units to color stops#15
acupoftee wants to merge 1 commit intoghosh:masterfrom
acupoftee:master

Conversation

@acupoftee
Copy link

@acupoftee acupoftee commented Oct 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant