L
L
Lev Yakovlev2019-07-12 21:46:11
gulp.js
Lev Yakovlev, 2019-07-12 21:46:11

How to remove repeated css selectors when building gulp?

When using smart-grid, there are a few duplicate css selectors left. Is there a gulp plugin that wraps all properties of repeatable selectors into a single selector?

@media screen and (max-width: 960px) {
  .productItem__img {
    width: calc(50% - 30px);
  }

  .far {
    width: calc(50% - 30px);
  }

  .far {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dymok, 2019-07-12
@levzik

https://ru.stackoverflow.com/questions/628905/%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question