New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

postcss-hover

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-hover

PostCSS plugin to remove every :hover selector

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
17
-67.92%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

postcss

FAQs

Package last updated on 29 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts