0.1.6 • Published 7 years ago

postcss-apply-class v0.1.6

Weekly downloads
37
License
MIT
Repository
github
Last release
7 years ago

PostCSS Apply Class Build Status

PostCSS plugin to apply CSS classes in a similar fashion to LESS.

Using this input.css:

.bold {
    font-weight: bold;
}
.text-small {
    font-size: .75rem;
}
.foo {
    @apply .bold, .text-small;
}

you will get:

.bold {
    font-weight: bold;
}
.text-small {
    font-size: .75rem;
}
.foo {
    font-weight: bold;
    font-size: .75rem;
}

Usage

postcss([ require('postcss-apply-class') ])

See PostCSS docs for examples for your environment.

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago