Pure CSS tooltips
How do I make an pure css tooltips?
What is a pure css tooltips? How do you make a pure css tooltips? This script and codes were developed by Mario Nebl on 07 July 2022, Thursday.
Pure CSS tooltips - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS tooltips</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="info info--top-left"> ℹ <div class="tooltip"> <aside class="tooltip__content"> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. </aside> </div>
</div>
<div class="info info--top-right"> ℹ <div class="tooltip"> <aside class="tooltip__content"> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. </aside> </div>
</div>
<div class="info info--bottom-right"> ℹ <div class="tooltip"> <aside class="tooltip__content"> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. </aside> </div>
</div>
<div class="info info--bottom-left"> ℹ <div class="tooltip"> <aside class="tooltip__content"> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. </aside> </div>
</div>
</body>
</html>
Pure CSS tooltips - Script Codes CSS Codes
html, body { margin: 0; padding: 0; background: ; font-family: sans-serif; background: #5ec792; color: #fff;
}
.info { position: relative; display: inline-block; margin: 20px; width: 20px; height: 20px; text-align: center; background: rgba(0, 0, 0, .5); border-radius: 50%; cursor: help;
}
.info--top-left { position: absolute; top: 20px; left: 20px;
}
.info--top-right { position: absolute; top: 20px; right: 20px;
}
.info--bottom-right { position: absolute; bottom: 20px; right: 20px;
}
.info--bottom-left { position: absolute; bottom: 20px; left: 20px;
}
.tooltip { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100vw; height: 100vh;
}
.tooltip__content { text-align: left; width: 100%; max-width: 250px; max-height: 100%; overflow: auto;
}
Developer | Mario Nebl |
Username | marionebl |
Uploaded | July 07, 2022 |
Rating | 3 |
Size | 2,292 Kb |
Views | 68,816 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Basic jogwheel example | 4,593 Kb |
Animation in relation to user input, the sane way | 3,712 Kb |
A Pen by Mario Nebl | 4,034 Kb |
Pure CSS tabs | 4,046 Kb |
Blog Concept - Single Post | 9,603 Kb |
Floating Labels | 4,659 Kb |
JQuery for the poor | 1,658 Kb |
Pure CSS toggles | 3,607 Kb |
Pure CSS lightbox technique | 3,372 Kb |
Mobile toolbar study | 4,779 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Simple jQuery Slider | Jurbank | 2,874 Kb |
Material design - button rainbow circle | Kunukn | 3,652 Kb |
Mobile Nav Menu | AliKlein | 4,745 Kb |
Weird glowy CSS3 game | Toneworm | 3,684 Kb |
Text Looping Transition | Agelber | 5,619 Kb |
Vanilla JS - A toggleClass function | Woodwork | 2,532 Kb |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
HTML5 Breakout | Jaysalvat | 4,873 Kb |
Awesome textarea | Ayoungh | 1,977 Kb |
Menubar compass mixin | Michaelparenteau | 4,925 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!