How to declare a new component?
.componentThe selector you want to insertThe element you want to style
See example
.btnThe selector you want to insertThe element you want to style
- SASS
+component('.btn')
display: inline-block
background-color: grey
- CSS
.btn {
display: inline-block;
background-color: grey;
}
More info: +component