1.0.0 • Published 9 months ago
@stormid/outliner v1.0.0
Outliner
Adds a classNamw to the documentElement to be used to hide CSS outline on mouse interactions, show on keyboard interactions. Until :focus-visible has broader browser support.
Usage
Install the package
npm i -S @stormid/outlinerInitialise the module
import '@stormid/outliner';Add CSS
.no-outline * {
outline: 0 none !important;
box-shadow: none !important;
}Tests
npm tLicense
MIT
1.0.0
9 months ago
1.0.0-alpha.6
1 year ago
1.0.0-alpha.5
4 years ago
1.0.0-alpha.4
6 years ago
1.0.0-alpha.3
6 years ago