Created
May 9, 2016 16:24
-
-
Save kadmil/e72681bed2b262abc90bdacd0e7b9031 to your computer and use it in GitHub Desktop.
Composing with CSS Modules
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
.input { | |
border: none; | |
} | |
//use styles from the class in the file | |
.firstCustomInput { | |
composes: input; | |
} | |
//use styles from the class in '_input.css' | |
.secondCustomInput { | |
composes: baseInput from ‘./_input.css’ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment