🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@quid/postcss-what-input

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quid/postcss-what-input

A PostCSS plugin used to make it easy to interact with the npm module "what-input".

1.1.0
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

PostCSS What-Input

You need what-input enabled in your app in order to use this plugin.

This PostCSS plugin adds two new CSS pseudo selectors: :focus-mouse and :focus-keyboard.

The first will target focused elements only if they have been focused using mouse.
The other will target focused elements only if focused using keyboard.

This is particularly useful to disable the focus ring from elements only when the user is using the mouse or on first page load:

.MyInputElement:focus-mouse {
  outline: 0;
}

Keywords

what-input

FAQs

Package last updated on 07 Jul 2021

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