Recursively walk through all rules and keyframes
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
component.json
index.js
package.json

README.md

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