Skip to content
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

Babel for CSS #2159

Closed
artemgurzhii opened this issue Oct 2, 2016 · 1 comment
Closed

Babel for CSS #2159

artemgurzhii opened this issue Oct 2, 2016 · 1 comment

Comments

@artemgurzhii
Copy link

artemgurzhii commented Oct 2, 2016

Have you thought about making Sass for CSS like Babel for JS?
Example:

.ul li:not(:last-of-type) {
 bacground-color: black;
}

would compiled to

.ul li {
 bacground-color: black;
}
.ul li:last-of-type {
 background-color: transparent;
}
@long-lazuli
Copy link

I think that would rather be the job for a postCSS plugin instead of Sass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants