Home › Forums › CSS › Show text on :hover with CSS › Re: Show text on :hover with CSS
January 21, 2013 at 3:57 am
#121695
Kitty Giraudel
Participant
If you want your text to be indexed by search bots, you might want to consider another hiding option than display: none;
. Perhaps:
.visuallyhidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px; width: 1px;
margin: -1px; padding: 0;
border: 0;
}
More on this topic in this article: https://css-tricks.com/places-its-tempting-to-use-display-none-but-dont/