A
A
ANDREW_TUR2018-08-13 12:01:20
Sass
ANDREW_TUR, 2018-08-13 12:01:20

PostCSS - analogue of breakpoints for postcss as in sass?

For sass there is such a package as breakpoint-sass.com
is there an analogue for postcss?
this is how I want it - as in sass and not to wrap everything and everything with media queries every time ...

.testblock {
     @include breakpoint(980px) {
       color:red;
     }
@include breakpoint(480px) {
       color:#fff;
     }
   }

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex, 2018-08-13
@ANDREW_TUR

@custommedia

S
Sergey delphinpro, 2018-08-13
@delphinpro

Why abandon the usual tools https://github.com/postcss/postcss-scss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question