So I’ve just finished my Personal Portfolio assignment. It was a great experience for me to build it.
Here it is: https://codepen.io/Gudetama/pen/GyrxOZ
I have only one issue that I couldn’t find a solution for. Would love to get your help with it:
I wanted the jumbothron section to be centered and have some of the body background-color on the sides, so I did this:
.jumbotron {
max-width: 70%;
margin: auto;
}
However, when changing the display to smaller screens, I’d like to remove these sides and basically change the width of the jumbothron to 100%.
you’re not using the jumbotron component as it was intended for.
it is a component for calling extra attention to featured content or information.
pretty much like a banner, not as a container for your entire page.
the class that’s associated with your issue is just .container
it has a pre-defined width value which gave your content side margins
so even without .jumbotron you’ll still have those margins
(as long as you have .container and does not override its css)