DEV Community

ZuzannaJoannaKilichowska
ZuzannaJoannaKilichowska

Posted on

CSS Modules - rule with two class

I have two components and I use CSS modules. How can I write CSS that use both of the components and classes? One component has class description the other one "title". How, where can I put that code? (code below)

.description[open] > .title {

  font-weight: 700;

}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)