-
Notifications
You must be signed in to change notification settings - Fork 59
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
padding / margin not provided with fallback? #1
Comments
Hi! I don't use the .sass syntax, but I just tested with Sass 3.4.13 and I have no issues : https://gist.github.com/pierreburel/69b5c566280af10fef9d What do you use to compile your .sass files ? |
Hi Pierre Your code is working perfectly indeed. Thanks for your time. :-) |
I just tested with Gulp and node-sass/libsass and still no issues : https://gist.github.com/pierreburel/69b5c566280af10fef9d Really strange, maybe you have another Gulp task(s) removing/cleaning some stuff? |
Yes, I do have some other tasks running. All these automation tools are great as long as those packages work together. But when they don't, a real pain in the butt if you ask me. :-) |
If you use the Ruby version of Sass just for Autoprefixer, you should totally use it directly with gulp-postcss (https://github.com/postcss/autoprefixer#gulp) so you can use LibSass, which is way faster. Closing the ticket for now, and thanks for using sass-rem ! |
Here's just an example of a really simple gulpfile with sass and autoprefixer:
|
Just an update since someone reported the same problem: sounds like a gulp-minify-css/clean-css issue, cf. https://github.com/murphydanger/gulp-minify-css/issues/46 |
I cannot get fallbacks for padding/margin.
Example:
+rem((font-size: 22px, padding: 9px 6px 4px))
Output:
Font-size is ok but padding only gives rem values.
Maybe it's because i'm using the Sass syntax and not SCSS?
The text was updated successfully, but these errors were encountered: