G
G
GaserV2019-03-05 12:38:45
React
GaserV, 2019-03-05 12:38:45

Is it possible to change the styles of child classes in css-modules?

Such a problem. Antd (UI lib) is used. For example, I used DatePicker from him. I gave him a class. And it is the first element - I can style it, but I still need to fix what lies inside it. Is it possible to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Okhotnikov, 2019-03-05
@tsepen

.class:first-child > .childClass {

}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question