pseudos
v1.0.0
Published
List of CSS pseudo-classes (selectors).
Downloads
757
Readme
pseudos
List of CSS pseudo-classes (selectors).
Install with npm
npm i pseudos --save
Usage
All CSS3 UI pseudos and HTML5 candidates are exported by default.
var pseudos = require('pseudos');
//=> ['after', 'before', ...]
Selectors Level 4
CSS4 pseudos are exposed on the .css4
property:
var pseudos = require('pseudos');
console.log(pseudos.css4);
//=> ['any-link', 'future', 'current', ...]
See the Mozilla docs on Pseudo-classes for more info.
Run tests
npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 30, 2014.