How to create Codecademy tooltips?

Hey y’all, first time posting in the forum, sorry if this is in the wrong place, etc. I did search before posting but please do point me in the right direction if this has been addressed already elsewhere.

Wondering about these tooltips we encounter throughout the front-end engineer path.
Screenshot 2024-05-02 at 6.39.03 p.m.


1. Although helpful, not looking for this:

2. Additionally, how to create that dot grid and use it as a shadow for stuff?

Thanks!

Designing Custom Tooltips with HTML and CSS — Mastering Custom Tooltips - Enhance User Experience with Informative Hover Effects | by Theodore John.S | Medium.

As for the shadow effect, that is likely a 16 pixel by 16 pixel SVG that is used to style it.

3 Likes

Thank you so much @mtf!

2 Likes