This touches on it some. It has the super easy to follow example of:
- .hiddenMixin() {
color: black;
}
- p {
.hiddenMixin()
}
- p {
color: black;
}
1+2=3 above. Get it? The link I provide also shows off setting variables at parameters like so:
.round-borders (@radius) {
border-radius: @radius;
No comments:
Post a Comment