Responsive container-fluid
See original GitHub issueFEATURE REQUEST: .container-*-fluid
DESCRIPTION: Switch to fluid layout for viewports larger than a certain size.
Use case: https://codepen.io/anon/pen/WXaoyo?editors=1100#0
Implementation for .container-xl-fluid
:
@media (min-width: 1200px) {
.container-xl-fluid {
width: 100%;
margin-right: auto;
margin-left: auto;
padding-right: 15px;
padding-left: 15px;
width: 100%;
max-width: none;
}
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Containers · Bootstrap v5.0
Responsive containers allow you to specify a class that is 100% wide until the specified breakpoint is reached, after which we apply max-width...
Read more >Bootstrap 4 Containers
The .container class provides a responsive fixed width container; The .container-fluid class provides a full width container, spanning the entire width of ...
Read more >Bootstrap 5 Fixed, Fluid and Responsive Containers
In this tutorial you will learn how to create fixed-width, fluid, and responsive containers that adapt to any viewport or devices using the...
Read more >Bootstrap Containers - examples & tutorial
Container is a fundamental building block required in the latest Bootstrap 5. It allows building responsive layouts in seconds.
Read more >Containers in Bootstrap with examples
Containers in Bootstrap with examples ·.container: The .container class provides a responsive fixed width container. · Output: ·.container-fluid: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
would love to see this addressed for v4.1.
Common use case is I want a
.container
for larger devices, and when I go to smaller screen, I want to take advantage of all the real estate available to me and switch to a.container-fluid
.You can basically do this with the existing responsive flex direction utilities
example: https://codepen.io/anon/pen/RjeBMG