CSS only, automated, and accessible external link icon
How do I make an css only, automated, and accessible external link icon?
What is a css only, automated, and accessible external link icon? How do you make a css only, automated, and accessible external link icon? This script and codes were developed by Heydon on 27 August 2022, Saturday.
CSS only, automated, and accessible external link icon - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS only, automated, and accessible external link icon</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <a href="http://www.heydonworks.com">heydonworks.com</a>
</body>
</html>
CSS only, automated, and accessible external link icon - Script Codes CSS Codes
html { font-size: 200%;
}
/* the selector matches and external link (ie. starting with http),
not including links to the current domain */
[href^="http"]:not([href*="codepen.io"])::after { content: '(external link)'; display: inline-block; width: 1em; height: 1em; text-indent: 1em; white-space: nowrap; overflow: hidden; background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/44/Icon_External_Link.svg); background-repeat: no-repeat; background-position: center; background-size: 75% auto;
}
Developer | Heydon |
Username | heydon |
Uploaded | August 27, 2022 |
Rating | 3.5 |
Size | 1,678 Kb |
Views | 54,648 |
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 |
File system with nested lists | 1,640 Kb |
Bookish | 2,094 Kb |
Theme color inverter with filter | 0 Kb |
Redesigned gender form field | 1,160 Kb |
Just add javascript | 2,010 Kb |
4 columns, no single remainder | 1,563 Kb |
Invert custom properties | 2,026 Kb |
Hash change logging | 2,134 Kb |
FUN TIMES Competition | 3,473 Kb |
Accessible, pretty radio controls | 2,112 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 |
Popup Modal | Aldlevine | 3,696 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Bootstrap example | Ssaakkaa | 2,716 Kb |
Pomodoro Clock | Osycon | 3,705 Kb |
Simple checkbox style | Vncnz | 2,628 Kb |
Contact | GanNichiHa | 2,514 Kb |
Basic HTML5 Structure | YuvarajTana | 1,289 Kb |
Spiralator 9000 | AdmiralPotato | 4,671 Kb |
Chuck Norris Background | Manz | 1,967 Kb |
Angular-HAML | Cwacht | 2,022 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!