Animated Link Underline
How do I make an animated link underline?
What is a animated link underline? How do you make a animated link underline? This script and codes were developed by Insprd on 13 September 2022, Tuesday.
Animated Link Underline - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Link Underline</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <a href="">portfolio</a>
</body>
</html>
Animated Link Underline - Script Codes CSS Codes
/* 1. don't forget to replace the "a" tag selector with your actual selectors */
/* 2. don't forget to click the eyeball icon to add browser-specific prefixes to your code, before you copy & paste */
a { /* sets up rules for the hover state */ text-decoration: none; position: relative; /* uses text-transform instead of actual all-caps*/ text-transform: uppercase; /* default color you used on your cargo theme */ color: #333333;
}
/* the :before selector allows us to insert content with css. In this case, we're inserting a tiny rectangle so we can have a custom underline. */
a:before { content: ""; position: absolute; width: 100%; height: 1px; bottom: -8px; left: 0; background-color: #69b4a2; visibility: hidden; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transition: all 0.3s ease-in-out 0s; transition: all 0.3s ease-in-out 0s;
}
/* hover effects! */
a:hover { color: #69b4a2; -webkit-transition: color .3s ease-in-out 0s; transition: color .3s ease-in-out 0s;
}
a:hover:before { visibility: visible; -webkit-transform: scaleX(1); transform: scaleX(1);
}
/* other styles */
* {font-family:Futura;font-size:10px;margin:40px}
Developer | Insprd |
Username | insprd |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 1,875 Kb |
Views | 28,336 |
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 |
Bolt action | 3,023 Kb |
Hover Animation from UNIQLO | 3,772 Kb |
A Pen by insprd | 5,157 Kb |
Loading anim | 1,791 Kb |
A Scanner Darkly | 1,712 Kb |
Centered Isotope masonry | 2,243 Kb |
Simple Spinning Logo Idea | 1,647 Kb |
Brick a link with CSS | 1,417 Kb |
Infinite Carousel | 2,478 Kb |
Minimal Clock Card | 2,108 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 |
Direction-icon | Alexandremasy | 3,323 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
Shopping cart | Andiio | 6,581 Kb |
Responsive scrolling text | Ashdurham | 2,259 Kb |
Flex layout example | Mofny | 1,663 Kb |
Siema - add pagination to prototype | Pawelgrzybek | 2,575 Kb |
Twitch | SarahDunlap | 2,937 Kb |
Shop Talk logo made in CSS | Hugo | 19,368 Kb |
Eunice A | Ejbronze | 2,203 Kb |
CSS Tooltips | Darylldoyle | 2,599 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!