Viewers: in countries Watching now:
Discover how to make your website more readable and efficient across various screen sizes and devices. Join author Chris Converse as he shares his own specialized techniques for creating a responsive site. The course takes the site from start-to-finish, from comping your ideas in Photoshop, to setting up the HTML page and containers, to styling established elements for small, medium, and large screens. In particular, Chris shows how to load images with CSS, reposition the nav bar for better viewing on mobile devices, and how to make the download time faster for small screens by providing multiple versions of your banner graphic and other images. Plus, learn how to replace graphics with high-resolution versions for Retina displays using CSS media queries.
This course was created and produced by Chris Converse. lynda.com is honored to host this training in our library.
The next thing we're going to do is start styling the navigation. So here in the web browser, I can see the navigation is showing up down here under the promo areas. So what we want to do is create some styles that are going to be global and then some styles that are going to be specific to individual layouts. So let's come back to our text editor. Let's come back to screen_style.css and after our promo containers, let's add a few lines, and let's add a rule that's going to target the anchor links inside of the nav element. So we'll type "nav a" beginning and ending bracket.
Let's split those open. First we're going to set color. We're going to set that to #F5A06E;. The next property is going to be text-transform. We're going to set that to uppercase, semicolon. Next we're going to set text-decoration to none. That way the links won't be underlined. Let's hit a return. We're going to set a display type of inline block. This way the anchor links will have more dimensions, similar to that of an image tag. So they'll have height and width proportions based on how much room they need, but they won't have the straight inline style like we get with typical anchor tags and span tags.
Next property, we're going to set a font-weight to bold, hit a return. We're going to set font-size to .9 ems. Next we're going to set our hover state for the nav elements. So nav a:hover, beginning and ending bracket. All we're going to do is come in here and set the color to white, by putting pound sign and three Fs. Let's hit Save.
Let's come back to our browser. Let's hit reload. We'll now see the color change. We'll see that the links are in all uppercase and when I roll over these, they turn white. So these CSS rules target the text aspects of the links. Next we're going to work on the layout aspects of the navigation links.
Find answers to the most frequently asked questions about Creating a Responsive Web Design .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
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.