Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1199

[3.3.x] Styles Support & Discussion • Re: Background color hover text

$
0
0
There you go. That's why I said, "Play around with this css" Steve knows how to play with it. :D But you haven't gone blind yet, keep playing with it...

You can do a title on an image or any class or any tag...

Like for instance <span class="tooltip" tip="Randoms by Martin"><img src="..." alt=""></span> with css

Code:

.tooltip[tip]:hover::after {content: attr(tip);position: absolute;right: 3.9%;top: 42%;font-size: 14px;color: white;background: blue;padding: 0 5px 2px;border: 1px solid #777;border-radius: 5px;}
Works.

Statistics: Posted by Sniper_E — Tue Oct 22, 2024 12:48 am



Viewing all articles
Browse latest Browse all 1199

Trending Articles