V
V
Vitaly Inchin ☢2016-09-23 13:59:13
css
Vitaly Inchin ☢, 2016-09-23 13:59:13

Plugin for Gulp: css features for older browsers?

There is a need to support ancient IE-shek (and other oldies) and a desire to shorten the process of writing css nonsense like this:

.class{
  //Текущий код
  opacity: 0.5;
  ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  filter: alpha(opacity=50);

  //Желаемый код
  opacity: 0.5;
}

We need a gulp plugin that would substitute similar css features into the code when building the project. What do you advise? Is there something like this online?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zooks, 2016-09-23
@In4in

https://www.npmjs.com/package/gulp-autoprefixer

A
Andrey Verkh, 2016-09-23
@sadisme

Is writing a mixin not an option?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question