Bulan: Februari 2015

CSS: Simple Tooltip With Pseudo Elements, the Triangle Hack, and Data Attributes

HTML <html lang=”en”> <head> <meta charset=”UTF-8″> <title>A Simple CSS Tooltip</title> </head> <body> <header> <h1>A Simple CSS Tooltip</h1> </header> <div class=”content”> <p><a href=”#” data-tooltip=”I’m the tooltip, yo.”>I’m a link with a tooltip.</a></p> <p><button data-tooltip=”I’m the tooltip, yo.”>I’m a button with a… Baca selengkapnya CSS: Simple Tooltip With Pseudo Elements, the Triangle Hack, and Data Attributes

Scroll to Top