Created
March 31, 2017 21:36
-
-
Save ryanve/12d143b6b4a0435221e678d58c794e53 to your computer and use it in GitHub Desktop.
CSS inherit utility classes
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
.inherit-font { | |
font: inherit; | |
} | |
.inherit-size { | |
font-size: inherit; | |
} | |
.inherit-family { | |
font-family: inherit; | |
} | |
.inherit-weight { | |
font-weight: inherit; | |
} | |
.inherit-color { | |
color: inherit; | |
} | |
.inherit-background { | |
background: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment