Pure CSS Tooltip

Developer
Size
2,815 Kb
Views
4,048

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 Previews

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;
}
Pure CSS Tooltip - Script Codes
Pure CSS Tooltip - Script Codes
Home Page Home
Developer APinix
Username aPinix
Uploaded January 11, 2023
Rating 3
Size 2,815 Kb
Views 4,048
Do you need developer help for Pure CSS Tooltip?

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!

APinix (aPinix) Script Codes
Create amazing love letters with AI!

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!