Skip to content

Instantly share code, notes, and snippets.

@felixmosh
Last active March 10, 2018 12:34
Show Gist options
  • Save felixmosh/804c2075c27f517ace85ac4e2be9baf0 to your computer and use it in GitHub Desktop.
Save felixmosh/804c2075c27f517ace85ac4e2be9baf0 to your computer and use it in GitHub Desktop.
CssVars - currentColor
/**
* CssVars - currentColor
*/
button {
border-color: currentColor;
color: red;
}
button { display: inline-block; font-size: 50px; padding: 0 1em; height: 100px; outline: none; border: 5px solid; border-radius: 10px;}body { padding: 50px; text-align: center;}
<button>Click Me</button>
{"view":"split-vertical","fontsize":"110","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment