A Pen by Olena Sovyn on CodePen.
Created
March 16, 2016 20:48
-
-
Save Kiwka/5973590a65bf675d8772 to your computer and use it in GitHub Desktop.
currentColor as a first available CSS variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="main"> | |
Test text | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.main { | |
color: blue; | |
border: 3px solid black; | |
padding: 10px; | |
display: inline-block; | |
font: 20px bold Helvetica, Arial, serif; | |
box-shadow: 5px 5px currentColor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment