Skip to main content

+state

+component('button')
+register
+state(':hover')

+default
display: inline-block
background-color: grey

+state(':hover')
background-color: yellow




button {
display: inline-block;
background-color: grey;
}
button:hover {
background-color: yellow;
}

The mixins and functions used in the code above: component, default, state, register, mode.