Giter Site home page Giter Site logo

Comments (11)

ai avatar ai commented on August 14, 2024

I didn’t totally understand you :).

What CSS you write? What CSS generates Autoprefixer? And what output CSS you expect?

from grunt-autoprefixer.

ai avatar ai commented on August 14, 2024

BTW, there is web interactive tool to play with Autoprefixer: http://jsfiddle.net/simevidas/udyTs/show/light/

from grunt-autoprefixer.

nDmitry avatar nDmitry commented on August 14, 2024

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.

nDmitry avatar nDmitry commented on August 14, 2024

Well, looks like I can close the issue.

from grunt-autoprefixer.

rifeman2007 avatar rifeman2007 commented on August 14, 2024

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.

nDmitry avatar nDmitry commented on August 14, 2024

@rifeman2007 what's your config?

from grunt-autoprefixer.

rifeman2007 avatar rifeman2007 commented on August 14, 2024

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.

nDmitry avatar nDmitry commented on August 14, 2024

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.

rifeman2007 avatar rifeman2007 commented on August 14, 2024

@nDmitry Thank you so much.

from grunt-autoprefixer.

sbedulin avatar sbedulin commented on August 14, 2024

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
Missing -ms-transform

from grunt-autoprefixer.

sbedulin avatar sbedulin commented on August 14, 2024

Oh, nevermind :)
Probably the answer is because transition isn't supported in IE9 at all

from grunt-autoprefixer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.