-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
Right now the prefixer will process elements that can't be namespaced (body and head, maybe others). The workaround so far has been to use the transform option added in #16 and let the user provide his own custom logic that deals with this.
It would be cool if the prefixer knew to handle these elements differently out of the box.
/* assuming the prefix is .hello we get the following */
// special cases
body -> body .hello
html -> html .hello
html body -> html body .hello
// prefixer works as usual for any other elements
div -> .hello div
jgarite