I have a specific section in my HTML where I want to utilize flexboxes. The CSS provided is affecting all other rows and columns in my code. How can I ensure that this CSS only impacts the specific HTML section I have included here?
Thank you!
.row {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}
.row>[class*='col-'] {
display: flex;
flex-direction: column;
}
<div class="section">
<div class="bestseller-wrap">
<div class="row">
<div class="col-sm-3" style="background-color: aqua;">
<h3>Here is a headline</h3>
<input type="submit" value="Subscribe">
</div>
<div class="col-sm-9">
<img src="/img/test.jpg">
</div>
</div>
</div>
</div>