Day 3: HTML & CSS Part 2
1. Go to www.meyerweb.com/eric/tools/
css/reset/.
2. In the CURRENT folder that you're working on, create a new file and name it reset.css and save it to the css folder.
3. Paste the CSS Reset from the website into reset.css.
4. At the TOP of styles.css, add the following:
5. Save styles.css.
@import url(“reset.css”);
#name p {
color: blue;
}
<body>
<div id=”main” class=”group”>
<h1>Page Title</h1>
<p>Nulla facilisi. Ut porttitor sollicitudin nisi, tempus
pulvinar nisl volutpat aliquet.</p>
</div>
</body>
And the following CSS code:
Text
body {
color: blue;
}
h1, h2, h3, h4 {
font-weight: bold;
}
blockquote p {
font-style: italic;
}
aside > h3 {
font-weight: bold;
}
a[title] {
color: blue;
}
a:link {
text-decoration: underline;
}
a:hover {
text-decoration: none;
}