Pure CSS Tooltip
How do I make an pure css tooltip?
With FontAwesome Icons. What is a pure css tooltip? How do you make a pure css tooltip? This script and codes were developed by APinix on 11 January 2023, Wednesday.
Pure CSS Tooltip - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS Tooltip</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="tooltip tooltip--blue"> <i class="fa fa-folder"></i> <span>browse this file</span> </div> <div class="tooltip tooltip--green"> <i class="fa fa-cloud-upload"></i> <span>upload this file</span> </div> <div class="tooltip tooltip--red"> <i class="fa fa-minus-circle"></i> <span>remove this file</span> </div>
</div>
</body>
</html>
Pure CSS Tooltip - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
body, html { font-family: "Montserrat", sans-serif; font-weight: 400; background: #EAEDF0; width: 100%; height: 100%; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.wrapper { width: 320px; height: 100px; text-align: center; position: absolute; display: block; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important;
}
.wrapper .tooltip { padding: 8px 16px; margin: 20px; text-align: center; border-radius: 5px; font-size: 200%; float: left; position: relative; cursor: pointer;
}
.wrapper .tooltip.tooltip--green { color: #65AB09;
}
.wrapper .tooltip.tooltip--blue { color: #4476FB;
}
.wrapper .tooltip.tooltip--red { color: #E74C3C;
}
.wrapper .tooltip span { min-width: 150px; position: absolute; display: block; left: 50% !important; transform: translate(-50%, 0) !important; visibility: hidden; border-radius: 5px; opacity: 0; font-size: 14px; padding: 10px; background: #323a44; color: white; transition: all 0.25s ease-in-out; z-index: 1000;
}
.wrapper .tooltip:hover span { visibility: visible; opacity: 1;
}
Developer | APinix |
Username | aPinix |
Uploaded | January 11, 2023 |
Rating | 3 |
Size | 2,815 Kb |
Views | 4,048 |
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 |
CSS Spinner | 2,285 Kb |
A Pen by aPinix | 3,573 Kb |
SASS Clock | 2,755 Kb |
Guided Tour Tooltip | 2,906 Kb |
Fire on Resize Finish | 1,952 Kb |
Schedule a notification | 4,558 Kb |
Wheel Menu | 2,626 Kb |
AppStore Flat Hollow Badge | 39,044 Kb |
CSS Clock | 1,807 Kb |
IOS7 Flat Toggle | 1,854 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 |
Resize image | Happyhj | 1,892 Kb |
My Interests | Anshusaxenaarora | 2,015 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Simple Login Form | JoshBlackwood | 4,418 Kb |
Personal Logo Animation | Lloydwheeler | 3,795 Kb |
Greyscale image with filter in CSS3 | NickyCDK | 1,562 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Addthis_button | Esambino | 1,691 Kb |
Playing with FlexBox | _Billy_Brown | 3,162 Kb |
Flexbox Grid - equal height | DaveOrDead | 2,855 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!