Easily use pseudo-elements. Adds properties so they display automatically.
bower install fonzie-pseudo
.box {
@include fz-before {
backgroud: blue;
}
}
Outputs:
.box:before {
display: block;
content: '';
background: blue;
}
You can also use the mixins fz-after
and fz-beforeAndAfter
.