Skip to content

intesso/rework-walk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rework-walk

Recursively walk through all rules and keyframes

example

// prefix all selectors
walk(style, function(rule, node) {
  if (!rule.selectors) return rule;
  rule.selectors = rule.selectors.map(function(selector) {
    return str + ' ' + selector;
  });
});

credits

rework-visit

license

MIT

About

Recursively walk through all rules and keyframes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published