Where to find container fluid class in Bootstrap 3?

When switching from container to container-liquid, it works. However, I tried to find it in the bootstrap.css file, but could not find a match. Any ideas?!

+6
source share
2 answers

FYI, since people answered this back in October 2013, boostrap 3.1 has container liquid: http://getbootstrap.com/css/#grid-example-fluid (container liquid will expand your content to full page width. Container adds 15px padding left and right).

It is defined on line 755 of the boostrap.css file at the time of this writing.

(What is strange is that it is defined in boostrap.css just like a container (with the addition of 15px), but it definitely works in expanding your content to the full width of the page - I could not find the difference in the CSS file.)

+14
source

If you read from 2.x to 3.x, you will see that it was deleted only for container .

So container-fluid will therefore be absent in 3.0 CSS.


UPDATE August 2014:

According to others, Bootstrap> 3.0 versions returned .container-fluid . However, I feel it is worth mentioning that if you are here for only 3.0, it is not available.

+9
source

Source: https://habr.com/ru/post/956576/


All Articles