Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now the first thing we need to do with the navigation element is have it positioned after the content. Right now we have an absolute-positioned for large and medium screens. So to do that, let's come back to our text editor. After the article element, let's type in nav, beginning and ending bracket. We'll split those open. The first property is going to be position, and we're going to set this to static. This means we're going to remove the position properties of this element, and then it's going to show up in the order that it appears in the HTML code, which is right before the footer in our HTML file. Let's hit a return.
We're going to set padding next. We're going to set 10 on the top, 0 on the right, 10 on the bottom, and 0 on the left, and a semicolon. Next we're going to set background-color. We're going to set background-color: #515673, same as the background color of the body tag in the footer, and then choose Save. Come back out to the browser. Let's hit Reload. And if we scroll down, we can now see the navigation is showing after all of the content.
So now, with the navigation in the proper place, next we'll style the links to make them look more like mobile navigation links.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.