Home › Forums › Other › How To Combine Multiple Classes into common css rule › Reply To: How To Combine Multiple Classes into common css rule
January 20, 2017 at 4:32 am
#250245
Participant
Yes, … well I guess it will have to be some kind of pre- or post-processing build tool (which groups shared CSS property-value pairs on selectors) to solve this problem. Sass, Less, Stylus et. al. can do this with extends. But this is a tricky one I think for it will not working on media-queries, if I’m not mistaken.
You also may want to look into DRY CSS