<div class="container">
  <h2>This title has pink under and over lines</h2>
  <h4>This sub-title has a blue underline</h4>
  <p class="text">
    This paragraph of text has all its lines underlined in <code>#aaa</code>. <span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat magni soluta repudiandae libero saepe. Perferendis, accusamus, iste aliquid hic eaque totam amet est illo vel ipsa corrupti ipsam dolorum harum!</span>
  <p class="strike">This line of text is has a red line through it.</p>
  <h6>This text has <a href="#">a link</a> with its decorations removed.</h6>
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 2em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

.container {
  max-width: 700px;
  padding: 30px;
  margin: 50px auto;

h2 {
  -moz-text-decoration-line: underline overline;
  text-decoration-line: underline overline;
  -moz-text-decoration-color: hotpink;
  text-decoration-color: hotpink;

h4 {
  -moz-text-decoration-line: underline;
  text-decoration-line: underline;
  -moz-text-decoration-color: skyblue;
  text-decoration-color: skyblue;

.text {
  -moz-text-decoration-line: underline;
  text-decoration-line: underline;
  -moz-text-decoration-color: #aaa;
  text-decoration-color: #aaa;

.text span {
  color: #888;

.strike {
  -moz-text-decoration-line: line-through;
  text-decoration-line: line-through;
  -moz-text-decoration-color: crimson;
  text-decoration-color: crimson;

h6 a {
  -moz-text-decoration-line: none;
  text-decoration-line: none;