Use HTML5 data attribute and CSS to add a tooltip

preview_player
Показать описание
There are many ways to add tooltips. In this video, I'll show you how to add some info to content like links, using the HTML5 data attribute. Using CSS, we can then build the tooltip and show/hide it. Really easy once you see it!

Рекомендации по теме
Комментарии
Автор

data-fred souds cool, I'm gonna start naming my datas that way

thelastowitch