Skip to content

Instantly share code, notes, and snippets.

@tanapoln
Created July 9, 2016 02:50
Show Gist options
  • Save tanapoln/7d5b737672e33f77a76312708c8567fb to your computer and use it in GitHub Desktop.
Save tanapoln/7d5b737672e33f77a76312708c8567fb to your computer and use it in GitHub Desktop.
Testing less mixins behavior
.border() {
&:after {
border: 1px solid black;
}
}
.border() {
&:after {
border: 1px solid red;
}
}
.link() {
color: black;
}
.link() {
color: green;
}
.comp1 {
.border();
}
.comp2 {
.link();
}
.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