Skip to content

reworkcss/rework-plugin-prefix-selectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rework-plugin-prefix-selectors

Build Status

.prefixSelectors(string)

Prefix selectors with the given string.

h1 {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #ddd;
}

yields:

#dialog h1 {
  font-weight: bold;
}

#dialog a {
  text-decoration: none;
  color: #ddd;
}

About

prefixSelectors() plugin for rework, formerly included in core

Resources

License

Stars

Watchers

Forks

Packages

No packages published