Bootstrap container-fluid

Bootstrap container-fluid
0

#1

In the lessons, FCC makes us create a div with the class container-fluid to make our page responsive, can we just put the class container fluid in our body element or does it have to be in the div?


#2

It has to be div. Bootstrap associated classes container and container-fluid for divs and reserved different styles for body element. Unless you know what you are doing, I suggest you stick with div.