because you are floating the nav
you need to clear , otherwise it will be stay out of the flow.
Because you are using Bootstrap, just add <div class="clearfix"></div>
just after nav
and before .intro-txt
More Related Contents:
- Bootstrap column on mobile positions
- Does ID have to be unique in the whole page?
- Can I use a :before or :after pseudo-element on an input field?
- Hide scroll bar, but while still being able to scroll
- ‘transform3d’ not working with position: fixed children
- flex property not working in IE
- `col-xs-*` not working in Bootstrap 4
- Changing the color of an hr element
- How to turn off word wrapping in HTML?
- Fixed header table with horizontal scrollbar and vertical scrollbar on
- Add a horizontal scrollbar to an HTML table
- Should global css styles be set on the html element or the body element?
- How do I add a tool tip to a span element?
- Difference between position:sticky and position:fixed?
- How to bevel the corner of a block div?
- Is there a way to use use text as the background with CSS?
- Why doesn’t “margin: auto” center an element vertically?
- CSS Select box arrow style
- z-index not working with position absolute
- Table row won’t contain elements with position:absolute
- How to create a Slanted Background with CSS? [duplicate]
- Vertical Alignment of text in a table cell
- How to use an tag inside a in the middle of a text? [duplicate]
- CSS border color switch animation: “from” color not correct
- Table overflowing outside of div
- Angular4 – Scrolling to anchor
- How To Add CSS3 Transition With HTML5 details/summary tag reveal?
- How to implement a Navbar Dropdown Hover in Bootstrap v4?
- Changing image src depending on screen size
- Balanced text wrapping in HTML