npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

pseudos

1.0.0

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:432
$ npm install pseudos
DailyWeeklyMonthlyYearly

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

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 30, 2014.