Answer the question
In order to leave comments, you need to log in
How can I configure the autoprefixer to add the -ms prefix?
Hello! My meticulousness haunts me ) I saw it on this template
There for a gradient background, the prefix -ms
is added.
I didn’t twist the settings of my autoprefixer, it doesn’t add this prefix at all. How to register correctly so that it is added?
I have it written like this>1%, last 10 versions, IE 9
Answer the question
In order to leave comments, you need to log in
IE 10 without prefixes already understands everything, it used to be needed
.example {
/* Safari 4-5, Chrome 1-9 */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #000), color-stop(100%, #fff));
/* Safari 5.1, Chrome 10+ */
background: -webkit-linear-gradient(top, #000 0%, #fff 100%);
/* Firefox 3.6+ */
background: -moz-linear-gradient(top, #000 0%, #fff 100%);
/* IE 6 - 9 */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#ffffff',GradientType=0 );
/* IE 10+ */
background: -ms-linear-gradient(top, #000 0%, #fff 100%);
/* Opera 11.10+ */
background: -o-linear-gradient(top, #000 0%, #fff 100%);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question