Closed martinkadlec0 closed 10 years ago
radial-gradients work fine
For me, when I compile:
@import nib
p
background: linear-gradient(to right, #d1d1d1 0%, #eee 0%);
background: linear-gradient(left, #d1d1d1 0%, #eee 0%);
I get:
p {
background: -webkit-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -moz-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -o-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -ms-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: linear-gradient(to right, #d1d1d1 0%, #eee 0%);
background: -webkit-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -moz-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -o-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: -ms-linear-gradient(left, #d1d1d1 0%, #eee 0%);
background: linear-gradient(to right, #d1d1d1 0%, #eee 0%);
}
Perhaps you're using an outdated version of nib, or maybe you have some other syntax issue?
The package.json says I'm using "version": "1.0.1", however when I print require('nib').version it says 0.8.2 .. ??
anyway, I found out the problem happens only if I use "imports: ['nib']" option in grunt instead of @import in the css files
hmm... that is quite strange. perhaps it's an issue in grunt? ... anyway, imma close this
HI, I'm using grunt-contrib-stylus (0.37.0) to convert my *.styl files. All my gradients like:
get converted to:
Is this a bug or am I doing something wrong?