Closed sotayamashita closed 8 years ago
@sotayamashita With something like Autoprefixer? https://github.com/postcss/autoprefixer
@designbyjake Yes it is. What do think ?
Example:
// scss
selector {
border-radius: 3px
}
↓ Transfer w/ build tool like gulp
/* css */
selector {
-webkit-border-radius: 3px
-moz-border-radius: 3px
border-radius: 3px
}
@sotayamashita I’ll think about it. I use it on other projects but didn’t want to add it as a dependency.
BTW border-radius
doesn’t need prefixing ;)
@designbyjake I got it.
BTW border-radius doesn’t need prefixing ;)
Oops... :sob:
@sotayamashita I don’t think this should be closed yet.
@designbyjake OK. but you do not want to add a dependencies ?
I agree. I use autoprefixer, and I'd rather not see prefixes in sass dependencies. It might be useful to publish both a bare file and and pre-fixed file for different use cases.
I’m planning to add autoprefixer soon :+1:
@designbyjake Which browser will you support ? Example is below:
autoprefixer({ browsers: ['last 2 versions'] })
Here is browser list
Yep, +1 to removing prefixed code from this project.
Autoprefixer added
How about to add vendor-prefix during transferring scss to css ? I think it will be more simple