Mixins

Lesson 5
Author : Afrixi
Last Updated : October, 2017


Table of Content

Code

Copy.fancy-border(@size: 1px, @color: black) {
     border: @size dashed @color;
}

.fancier-border {
     .fancy-border(10px, blue);
     background-color: yellow;
     border-radius: 5px;
}