%h1
  ex units
  %span are cool
View Compiled
html
  color: black
  font-family: 'Verdana', 'Tahoma', 'Helvetica Neue'
  padding: 40px

h1
  font-size: 76px
  font-weight: bold
  letter-spacing: -0.05ch
  line-height: 0.8em // Set the element height to equal the typeface height
  margin: 0
  position: relative
  text-align: center
  
  span
    display: block
  
  &::before
    background: yellow
    bottom: 0
    content: ''
    height: 1ex
    left: 0
    position: absolute
    right: 0
    z-index: -1

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.