How to create a divider behind the text

See the Pen oxXvwW by wpaesthetic (@wpaesthetic) on CodePen.18474

Tips:

  • Create two pseudo elements prepend and append the text.
  • Give the elements display table value so that you can control easily the width and position values of the lines.

Leave a Reply