Skip to main content

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
+component('.btn')
display: inline-block
background-color: grey

.btn {
display: inline-block;
background-color: grey;
}

More info: +component