Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50748 Viewers
117 Video lessons · 38425 Viewers
113 Video lessons · 81482 Viewers
65 Video lessons · 11366 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.