Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:20
What would you like to do?
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 {
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.


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