After using my customized CSS class named myclass
alongside Bootstrap's built-in class container
, I have a question about how to declare a div element with both classes.
Should I go with:
<div class="myclass container">some code</div>
or is this format better:
<div class="myclass">
<div class="container">
some code
</div>
</div>
I'm curious if both methods work the same way or if there are differences between them.