Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 856 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 856 Bytes

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>