I am trying to write sass that will apply on both buttons inside two separate divs, but all the style that I write apply only to one button, is there any way I can target all buttons? This is my html:
<div class="main-cta-buttons">
<div class="subscribe-form">
<div>
<button class="btn btn-primary btn-lg btn-xs-block test" style="min-width: 220px;" aria-label="become a marketer">Become a Marketer</button>
</div>
</div>
<button class="btn btn-primary btn-lg btn-xs-block test" style="min-width: 220px;" aria-label="become a partner">Become a Partner</button>
</div>
</div>
</div>
and this is my sass:
.main-cta-buttons{
display: flex;
// align-items: center;
justify-content: space-evenly;
max-width: 70rem;
margin: 0 auto;
flex-direction: row;
flex-wrap: wrap;
@media(max-width: 736px){
flex-direction: column;
max-width: 100%;
}
.subscribe-form{
> div {
@media(max-width: 736px){
margin-bottom: 2.6rem;
}
}
& button {
text-align: center;
justify-content: center;
display: flex;
}
}
}
I tried pretty much anything I could think of, but these buttons styles only show up on the first button. Thank you