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 |
Pixelated Brain Animation | 7,866 Kb |
4 columns, no single remainder | 1,563 Kb |
4 columns with padding | 1,576 Kb |
Vue.js TODO List | 4,218 Kb |
Theme color inverter with filter | 0 Kb |
Invert custom properties | 2,026 Kb |
File system with nested lists | 1,640 Kb |
Fukol | 2,461 Kb |
DIV wormhole | 1,932 Kb |
Bookish | 2,094 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 personal profile | Miroot | 2,856 Kb |
Pattern lab logo | TimPietrusky | 3,666 Kb |
Bloomberg Style Link Hover | Gil-- | 1,609 Kb |
Pure CSS Read More Arrow | Zephyr | 1,747 Kb |
Importable Clearfix | Corysimmons | 1,411 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
AngularJS Animated Todo List | Ehaase | 2,975 Kb |
Toggle Time | Petebot | 5,345 Kb |
A Pen by Michael Parenteau | Michaelparenteau | 2,133 Kb |
My Interests | Anshusaxenaarora | 2,015 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!