Update the Layout
Explore how to update and optimize a Bootstrap layout by setting Arial as the font, enhancing the pricing section's appearance, adjusting spacing, and fixing button styles. Learn to efficiently use DevTools and CSS techniques to refine the layout's design and visual hierarchy.
Layout's font style
To complete our layout, we’ll do only a couple of things:
Set
Arialas the layout’s font.Update the jumbotron "Pricing" section.
To set Arial as the layout’s font, we can just add this CSS to our layout.
Next, we’ll update the pricing section, which currently looks like this.
We’ll alter the code above by adding another class to wrap the h1 and p tags, and give it a class of container-narrow.
We’ve also added the bg-primary and text-light classes to the utmost wrapping div to make our pricing copy look a bit nicer. ...