Home › Forums › CSS › Hide text but not the :before pseudo class › Reply To: Hide text but not the :before pseudo class
January 5, 2017 at 4:16 pm
#249737
marblegravy
Participant
I know this is an old thread but I thought I’d offer my demo of how I got this working for future lurkers:
http://codepen.io/marblegravy/pen/BpyWLE
Essentially a combo of text-indent -9999px on the main text and +9999px on the :before