DEV Community

Cover image for Tooltip Using HTML/CSS
Waiz Kuruni Ahmed
Waiz Kuruni Ahmed

Posted on

Tooltip Using HTML/CSS

Hello Folk!
See my new design using HTML and CSS by Codepen.
Suggest me something new.

Happy Development.

Top comments (4)

Collapse
 
link2twenty profile image
Andrew Bone

Another way to do this is use a data attribute rather than needing an extra span.

Something like this:

Here's a post I wrote about making it:

Collapse
 
wkazisan profile image
Waiz Kuruni Ahmed

tnx man

Collapse
 
ppezaris profile image
ppezaris

i'd suggest speeding up the animation.... otherwise feels a little slow :)

Collapse
 
wkazisan profile image
Waiz Kuruni Ahmed

there is no animation used, but if I speed up , its effect won't be beautiful to see.