In Bootstrap, there's the coolest feature where I can specify padding and margins like this.
<div class="py-10 mt-5">...</div>
I'm using that exact div's class combo on every of my full page components. Then it stroke me that if I have to respace, I'm going to have to update each such thingy, which is a lot of work and error prone.
I can declare my own class like this, of course.
div.full-page {
padding: 10px 0;
margin-top: 5px;
}
However, it has the drawback of not relating to the spacing/sizing set by Bootstrap. Plus I got the impression that if I let Booty do its job in Booty'ish manner, the responsiveness and adaptivity will be present automagically. And I'm also curious is this might be an opportunity to learn something new, too.
I'd like to combine the two class effects (py-10 and mt-5) into a new class and then impose that new class onto my divs.
Is it possible and if so how?
NB - googling "combine" and "class" renders a lot of links regarding object oriented techniques. I'm not sure what to google for in this case, so my pre-research is limited. (Not due to laziness and cansomeoneelsedoitforme-ism but due to ignorance of keywords and limited fantasy.)