Skip to content

Instantly share code, notes, and snippets.

@rochellelewis
Last active August 29, 2015 14:20
Show Gist options
  • Save rochellelewis/a97a13598a217c3502e5 to your computer and use it in GitHub Desktop.
Save rochellelewis/a97a13598a217c3502e5 to your computer and use it in GitHub Desktop.
Basic CSS Activity
<div class="callout">
<h2>This is a Call to Action</h2>
<p>Here is some text here. And this is a link to the <a style="color:red; font-weight: bold;" href="#">Contact Page</a>.</p>
</div>
div {
color: black;
font-family: sans-serif;
}
.callout {
color: purple;
text-align: center;
}
.callout h2 {
color: green;
font-family: sans-serif;
}
h2 {
color: red;
}
p {
font-style: italic;
}

Basic CSS Activity

Look at this HTML & CSS. Just based upon reading this code, what will the rendered text look like?

A Pen by Rochelle Lewis on CodePen.

License.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment