postcss-hover

0.3.0 • Public • Published

PostCSS Hover Build Status

PostCSS plugin to remove every :hover selector. Attempts to solve this issue for shared styles built separately for different platforms.

.button {
    background: blue;
}
.button:hover {
    background: red;
}
 
// multiline selectors
.link:hover,
.link.selected {
    background: green;
}
.button {
    background: blue;
}
 
.link.selected {
    background: green;
}

Usage

postcss([ require('postcss-hover') ])

See PostCSS docs for examples for your environment.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    20
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    20
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i postcss-hover

Weekly Downloads

20

Version

0.3.0

License

MIT

Last publish

Collaborators

  • paulfalgout
  • wesmangum