Created
July 9, 2016 02:50
-
-
Save tanapoln/7d5b737672e33f77a76312708c8567fb to your computer and use it in GitHub Desktop.
Testing less mixins behavior
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
.border() { | |
&:after { | |
border: 1px solid black; | |
} | |
} | |
.border() { | |
&:after { | |
border: 1px solid red; | |
} | |
} | |
.link() { | |
color: black; | |
} | |
.link() { | |
color: green; | |
} | |
.comp1 { | |
.border(); | |
} | |
.comp2 { | |
.link(); | |
} |
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
.comp1:after { | |
border: 1px solid black; | |
} | |
.comp1:after { | |
border: 1px solid red; | |
} | |
.comp2 { | |
color: black; | |
color: green; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment