Font-family, font-size, font-weight, utility?

Can someone tell me the utility which would do something like this ? Can plug-in webpack, gulp ?

.example {
font-family: sans-serif;
font-weight: 400;
font-size: 17px
}

to turn it into

.example {
font: 400 17px sans-serif;
}
June 10th 19 at 16:38
2 answers
June 10th 19 at 16:40
Yeah cool stuff it is a pity that only in terms of webpack it only works with background. - Janet_Mueller commented on June 10th 19 at 16:43
June 10th 19 at 16:42
As I recall, it could csso

Find more questions by tags SassAdaptive designWebpackDesignCSS