Closed
Description
I use it together with the postcss-dir-pseudo-class. A problem arises when you need to change the value to the center in media queries, for example, text-align: start to text-align: center
.selector {
text-align: start;
}
@media (max-width: 600px) {
.selector {
text-align: center;
}
}
Generated:
[dir=‘ltr’] .selector { text-align: left }
@media (max-width: 600px) {
.selector { text-align: center; }
}
And since the first selector has more weight, the media doesn't work.