I have a single line of text:
<p> this is some text <b class="tryHover">hover over here</b> </p>
And when the cursor is over the text "hover over here" I'm trying to get a box with some content to pop up and i'm trying to do it all in css.
So in my css file i have:
.tryHover:hover{
}
I think I get what the above does and it lets me change the properties of the text "hover over here" when the cursor is over it. eg change background-color, etc.
But what I would like to do is have a box that "pops" up that is say 20px below the text when I hover over it.
So I thought I'd create a box class like:
.box {
width:
height:
border:
}
But I'm struggling to figure out if it's possible to make that box appear when hovering over the text using CSS alone.
Thanks.