Comments (11)
I didn’t totally understand you :).
What CSS you write? What CSS generates Autoprefixer? And what output CSS you expect?
from grunt-autoprefixer.
BTW, there is web interactive tool to play with Autoprefixer: http://jsfiddle.net/simevidas/udyTs/show/light/
from grunt-autoprefixer.
Sounds like you prefix CSS with the default browsers list: > 1%, last 2 versions, Firefox ESR, Opera 12.1
. Not sure if you use grunt-autoprefixer, please show us a config if so.
from grunt-autoprefixer.
Well, looks like I can close the issue.
from grunt-autoprefixer.
I have the same problem here. These properties are being stripped out.
-webkit-box-shadow: 0 0 5px 0 #e7e7e7;
-moz-box-shadow: 0 0 5px 0 #e7e7e7;
Any help would be greatly appreciated.
Thanks.
from grunt-autoprefixer.
@rifeman2007 what's your config?
from grunt-autoprefixer.
This is my autoprefixer config.
autoprefixer: {
options: {
browsers: ['last 1 version']
},
dist: {
files: [{
expand: true,
cwd: '.tmp/styles/',
src: '{,/}.css',
dest: '.tmp/styles/'
}]
}
},
Thanks.
from grunt-autoprefixer.
Here the problem:
options: {
browsers: ['last 1 version']
},
Last 1 version browsers don't need -webkit and -moz prefixes for box-shadow.
https://github.com/nDmitry/grunt-autoprefixer#optionsbrowsers
from grunt-autoprefixer.
@nDmitry Thank you so much.
from grunt-autoprefixer.
I have similar problem:
-ms-transform
is not added with config last 2 versions, ie >= 9
(or just ie >= 9
, or Explorer 9
)
Input:
div {
display: flex;
transition: transform 1s;
}
Output:
div {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
transition: -webkit-transform 1s;
transition: transform 1s;
}
I used Autoprefixer Playground for testing http://jsbin.com/gufoko/quiet
from grunt-autoprefixer.
Oh, nevermind :)
Probably the answer is because transition isn't supported in IE9 at all
from grunt-autoprefixer.
Related Issues (20)
- No -ms- prefix for transform HOT 1
- postcss "remove" option
- Not reading files HOT 1
- Wrong sample with multiple files HOT 4
- Fatal error: Unable to write "dist/css/" file (Error code: EISDIR). HOT 1
- na
- process() method is deprecated HOT 16
- Autoprefixer and Grunt Multi Task format support? HOT 1
- Autoprefixer hangs on non existent filepath HOT 4
- Browser list ['> 5% in US'] throws warning HOT 2
- No "autoprefixer" targets found. HOT 2
- Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead HOT 2
- Incorrect output when multiple transition properties are used
- No autoprefix for cursor property HOT 2
- Re-write css file
- grunt-autoprefixer + grunt-contrib-watch (livereload) + grunt-sass = livereload "catches" every other time
- body::scrollbar
- After npm install grunt-autoprefixer appears issue cb() never called!
- 'not' keyword not work
- Grunt autoprefixer is not adding prefixes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-autoprefixer.