-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto pesudo content fallback #18
Comments
I recall seeing a postcss plugin out in the wild that does this, but can’t seem to find it atm. In any case, it would be simple to do, just not sure it fits in Rucksack’s purview. I’ll leave this issue open for now though and see if anyone else would like to chime in. |
Yeah, there is this one: https://github.com/omgovich/postcss-pseudo-elements-content But you have to put |
Thinking about this a bit more, and I really can't see how it could fit into Rucksack. It's not a fallback or a replacement, and it's not a new feature. Would make a neat standalone plugin, though I don't have time to build it personally. It'd be pretty easy to do, might be a good way to learn PostCSS if you're keen ;-) |
Thanks @seaneking - makes sense. For anyone stumbling across this issue - I have started development of such a plugin: https://github.com/liquidlight/postcss-pseudo-content-insert At time of writing, it's still very much in beta, but should be prod ready soon! |
Would love to see an extension which adds missing
To
:before
/:after
pseudo elements. It is always needed and unless preset, should add it.Yet to find a post-css (or otherwise) plugin that does this.
The text was updated successfully, but these errors were encountered: