HTML/CSS Block component

My question is why don’t you wrap the content of the white block component in a div with a class of container too? Well, it’s easier to add it to the section classes as you don’t have to add an extra div, but for consistency it would be better to have an extra div.

It works either way, I’m just curious why you didn’t add the extra div?

1 Like