Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now to position the nav bar for medium screens, let's come back to our text editor. Inside of the screen_layout_ medium after header a.logo, let's hit a few returns. Let's target the nav element, add our brackets. We're going to set a top property here of 200 pixels. Again, this matches the height of the header that we see up here, set to 200. Let's hit a return, nav a. Let's target the anchor links inside of the navigation element.
Put in our brackets. And we're going to set a margin-right of 20 pixels. So what we want to do here is space out the navigation a little bit more. Since somebody maybe on a tablet device, we want to make sure they have enough room between the links to tap them with their fingers. So let's hit Save. Let's come back to our browser, and let's hit Reload. Now we'll see the navigation now aligned at the top to 200 pixels and the navigational links are spaced out just a little bit more. So if I resize the browser, that's the large size and then the medium size.
Now that we have the navigation styled for the medium screens, next we're going to work on the promos.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50111 Viewers
117 Video lessons · 37455 Viewers
113 Video lessons · 81230 Viewers
65 Video lessons · 10759 Viewers
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.