Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postcss-closest

PostCSS plugin to modify closest matching part of current selector

/* Input example */
html > body p:closest(body with .index, html with .js)
{
	...
}
/* Output example */
html.js > body.index p
{
	...
}

Install

npm install --save-dev postcss-closest

Usage

postcss( [ require( 'postcss-closest' ) ] )

About

PostCSS plugin to modify closest matching part of current selector

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages