<h1 class="red underline">Example heading</h1>
<p>
At some point in this demo paragraph, you’re going to run into some underlined text. Look at it all important-like. It’s supposed to be wrapping also. Very important.
<span class="underline">Wait — is this the underlined text right now? Am I, this here string of text, underlined and wrapping? Wow, what an honor.</span>
</p>
.red {
color: red;
}
.underline {
text-decoration: underline;
}
// ----- Unrelated ----- //
html {
$square-color: #f4f4f4;
$square-size: 8px;
line-height: 1;
background-image:
linear-gradient(45deg, $square-color 25%, transparent 25%, transparent 75%, $square-color 75%, $square-color),
linear-gradient(45deg, $square-color 25%, transparent 25%, transparent 75%, $square-color 75%, $square-color);
background-position: 0 0, $square-size $square-size;
background-size: ($square-size * 2) ($square-size * 2);
font-family: 'Source Sans Pro', sans-serif;
font-size: 19px;
line-height: 1.4;
padding: 20px;
}
body {
margin-left: auto;
margin-right: auto;
max-width: 600px;
}
p {
margin: 0;
}
h1 {
font-size: 48px;
font-weight: 400;
line-height: 1.2;
margin-bottom: 10px;
margin-top: 0;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.