pseudos

1.0.0 • Public • Published

pseudos NPM version

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.

Readme

Keywords

none

Package Sidebar

Install

npm i pseudos

Weekly Downloads

355

Version

1.0.0

License

MIT

Last publish

Collaborators

  • doowb
  • jonschlinkert