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 Author

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 Author

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

What image format should you use in your next project? 🤔