Forgive me for the not-so-great title, as I am unsure of what this particular HTML coding method is called. That's why I am asking this question in the first place. I've written some code and I need to know what type of coding practice this is.
I have a div with the class "container", and another div named "container bottom-services". I structured it this way because I noticed that the bottom-services class would utilize the container's styling, but without directly applying the same CSS for both elements. Here's the code:
<div class="container">
...
</div>
<div class="container bottom-services">
....
</div>
The CSS styling used:
.container
{
display: flex;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
}