Skip to content

PostCSS plugin to allow a class to copy another's declarations into itself

License

Notifications You must be signed in to change notification settings

monarkee/postcss-copy-class

Repository files navigation

PostCSS Copy Class Build Status

PostCSS plugin to apply classes as mixins.

.red {
    color: red;
}

.stop {
    @copy .red;
}
.red {
    color: red;
}

.stop {
    color: red;
}

Usage

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

See PostCSS docs for examples for your environment.

About

PostCSS plugin to allow a class to copy another's declarations into itself

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published