Re:Why I Write CSS in JavaScript
by kowdermeister on Monday February 18, 2019 @10:00AM
(#19191048)
Toggling styles is a good question. I have sometimes multiple classes that have to work together. For example to open a panel, I use some translate/transform, different positioning. How do you compose different styles for a single component?
How do you deal with mobile, where sometimes I have to override dozens of declarations with media queries?
How do you deal with mobile, where sometimes I have to override dozens of declarations with media queries?