postcss-first-contiguous
v1.0.0
Published
PostCSS plugin to select the first and last contiguous match of a selector
Downloads
5
Maintainers
Readme
postcss-first-contiguous
a PostCSS plugin adding :first-contiguous()
and :last-contiguous()
, fictional CSS pseudo-classes. Demo
Usage
npm install postcss postcss-first-contiguous --save-dev
const postcss = require('postcss')
const contiguous = require('postcss-first-contiguous')
postcss([contiguous()]).process(YOUR_CSS /*, processOptions */)