mirror of
https://github.com/lindsayevans/outline.js.git
synced 2024-09-11 20:47:06 +03:00
* Renaming from outline.js to remove-focus-outline * Updating package.json to include everything NPM requires * Adding installation & usage instructions to README * Adding note about v2 to README
856 B
856 B
remove-focus-outline
Formerly outline.js
Removes CSS outlines in an accessible manner
Based on http://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-accessible-manner/
🆕 I'm working busily on version 2 of remove-focus-outline - pop on over to the project page to see what's happening, or take a look at the
develop
branch.
Installation
npm install remove-focus-outline
Or if Yarn is your thing:
yarn add remove-focus-outline
Usage
ES6 - TypeScript, Babel, etc.
import 'remove-focus-outline';
CommonJS - RequireJS etc.
require('remove-focus-outline');
HTML <script>
:
<script src="node_modules/remove-focus-outline/outline.js"></script>