<!-- Based on Pure CSS Tooltip by Florin Pop (2019)
see: https://www.florin-pop.com/blog/2019/05/pure-css-tooltip/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Tooltip</title>
</head>
<body>
<div class="tooltip top">Show Top</div>
<div class="tooltip right">Show Right</div>
<div class="tooltip left">Show Left</div>
<div class="tooltip bottom">Show Bottom</div>
</body>
</html>