Is it possible to identify previous CSS?
The focus here is the card class.
Example:
<div class="app">
<div class="row">
<div class="card">
<label for="">Title</label>
<div class="number">
120
</div>
<div class="number">
Blah blah blah
</div>
</div>
</div>
<div class="row">
<div class="sm-6 md-6 lg-6">
<div class="card">
<label for="">Title</label>
<div class="number">
120
</div>
<div class="number">
Blah blah blah
</div>
</div>
</div>
</div>
In the first row the class card is alone. In the second row the class name is inside a column represented by class sm-6 md-6 lg-6.
QUESTION
Is it possible to apply a CSS to card that is only in sm, md or lg?
Thanks.