What is the difference between Bootstrap .container and .container-fluid classes?
Quick version: .container has one fixed width for each screen size in bootstrap (xs,sm,md,lg); .container-fluid expands to fill the available width. The difference between container and container-fluid comes from these lines of CSS: Depending on the width of the viewport that the webpage is being viewed on, the container class gives its div a specific fixed width. These lines don’t exist in any form for container-fluid, … Read more