Edit on
I like <a href="#">typography</a>!
@import url(https://fonts.googleapis.com/css?family=Merriweather:300,300italic);

body {
  font-size: 30px;
  font-family: Merriweather, serif;
}

a {
  text-decoration: none;
  font-style: italic;
  color: green;
  background:
    // make the underline dashed
    repeating-linear-gradient(to right,
      rgba(255,255,255,0),
      rgba(255,255,255,0) 5px,
      rgba(255,255,255,1) 5px,
      rgba(255,255,255,1) 10px
    ),
    // draw the underline, 2px and red
    linear-gradient(to top,
      rgba(255,0,0,0) 5px,
      rgba(255,0,0,1) 5px,
      rgba(255,0,0,1) 7px,
      rgba(255,0,0,0) 7px
    );
}
View Compiled
Rerun