Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 374 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 374 Bytes

Pseudo

Easily use pseudo-elements. Adds properties so they display automatically.

Installation

bower install fonzie-pseudo

Usage

.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.