V
V
Vann Damm2020-09-24 10:04:50
React
Vann Damm, 2020-09-24 10:04:50

Adding class selectors to html tag with modular css?

You need to set two elements

<div className="1">1</div>
<div className="2">2</div>

, from different components
<DivOne/>
<DivTwo/>

changing the width when adding an .active class tag to html, is it possible to do this and how to do it? If the css of both components is connected in a modular way

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question