0
I just finished a Bootstrap course and I had one question: nesting (nesting) is a specific feature of SASS? From what I understand here, yes.
I say that because when using Media Queries in conjunction with Bootstrap I have the possibility to do something of this kind to change elements according to the screen size. In the code below I am saying that the elements will change on screens small.
/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
h1{
font-size: 3em;
}
.btn-custom{
margin: 10px 15px;
}
}
My question is: is this nesting? I’m using SASS?
This is not a class nesting, this is a view-port rule
– hugocsl
Thank you hugocsl! :)
– Eduardo Figueiredo