Start learning with our library of video tutorials taught by experts. Get started
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.
Now, we're going to add two of our four CSS files into our document using standard CSS links. So inside of the index.html file opened up in your text editor, up in the heading area, we're going to get our cursor after the Title tag. Let's hit a return. Let's start a new tag. This is going to be a link tag. Let's hit a space. Let's set an attribute of rel, for relationship. We're going to set that equal to "stylesheet," then a space.
The next attribute is called type. "text/css" is the value, then a space. Next, we'll set href, and here we want to point to the screen_styles.css file that's inside of the css folder, so we'll type "css/screen_styles.css." Then after that attribute, hit a space, forward slash, and then end the tag.
And that screen_styles.css contains CSS rules that we're going to use for all of the different layouts. Next line, let's add another link. Relationship is "stylesheet," type is "text/css," href="css/screen_layout_large. css," and then end that tag.
So now that we have links to our two base CSS files, next we'll add links to the two remaining files, but we're going to put those inside of CSS media queries.
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.