Last active
March 30, 2017 14:39
-
-
Save maxnordlund/7c99114d15d7d067c3ebe71656c68b1f to your computer and use it in GitHub Desktop.
Pure CSS for `hr` element with caption
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just specify the caption text with the
title
attribute, like so:Will render a horizontal ruler, aka a line, with the text "OR" in the center.
In pure css that becomes: