Friday 14 August 2015

SASS Placeholder selector

I've found this nugget of information hard to find on Google for some reason.

All I need to is make a placeholder and call it up again.

/* Placeholder selector */
%my-placeholder {
border: 1px solid black;
}


p {
@extend %my-placeholder;
}

No comments: