:cookie: 942 | @mot01 |http://www.freecodecamp.org/mot01
@shubham1604 - looking at this page: https://getbootstrap.com/docs/4.0/components/jumbotron/ (if you're using V4) - it says that you can make a jumbotron
full width by not including it in a container
- To make the jumbotron full width, and without rounded corners, add the .jumbotron-fluid modifier class and add a .container or .container-fluid within.
But that is jumbotron-fluid
and V4. There is different documentation for V3, but there were many changes from V3 to V4. On a V3 documentation page: https://getbootstrap.com/docs/3.3/components/#jumbotron
- To make the jumbotron full width, and without rounded corners, place it outside all .containers and instead add a .container within.
So that's possible to have it be full width or not full width depending on the parent.
:star2: 2116 | @heroiczero |http://www.freecodecamp.org/heroiczero
container
div? There were a lot of changes in Bootstrap 4, that jumbotron-fluid
is a new thing, for example? I would have to try their two examples and see for myself what was going on. Another thing to keep in mind is that Bootstrap 4 is still being developed, along with the documentation, so there might be changes that have not been fully tracked in the documents or the code?