Highlighting Selected Text
How do I make an highlighting selected text?
Fiddled with Geoff Graham's Pen to create a text-stroked CSS3 effect on the heading text.... What is a highlighting selected text? How do you make a highlighting selected text? This script and codes were developed by Jeya Karthika on 28 November 2022, Monday.
Highlighting Selected Text - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Highlighting Selected Text</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>I'm a selectable heading</h1>
<p> Fiddling with Geoff Graham's <a href="https://codepen.io/geoffgraham/full/ziqmc">Pen</a>.</p>
</body>
</html>
Highlighting Selected Text - Script Codes CSS Codes
body { width: 100%; background-color: #e74c3c; text-align: center; font-family: source-sans-pro, sans-serif;
}
p { color: #ecf0f1; font-size: 40px; font-weight: 200;
}
h1 { color: #1abc9c; font-size: 80px; font-weight: 900;
}
h1::selection { -webkit-text-stroke: 2px #1abc9c; color: transparent;
}
a { color: #ffffff; text-decoration: none;
}
a:hover { color: #1abc9c;
}
Developer | Jeya Karthika |
Username | jeyakarthika |
Uploaded | November 28, 2022 |
Rating | 3 |
Size | 1,673 Kb |
Views | 18,216 |
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 |
Stack of papers | 1,569 Kb |
CSS Loader | 2,323 Kb |
Stitched Button | 1,593 Kb |
Flat UI Colours | 1,860 Kb |
Drop-Cap | 2,437 Kb |
Clouds | 1,773 Kb |
Rails Girls Bootstrap Demo | 1,168 Kb |
Page Curl Effect | 1,862 Kb |
Color-ful gradient stripes | 1,441 Kb |
Pure CSS3 menu | 1,675 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 |
Cloudy Spiral CSS animation | Hakimel | 6,587 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 Kb |
Formations | Cantelope | 5,731 Kb |
Font stack | Adrianjacob | 1,868 Kb |
Bezier Animation with straight paths | Rhernando | 2,087 Kb |
Force Counter | Kenlauguico | 2,732 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Brent Burns Tribute Page | Nevada48 | 2,569 Kb |
Gears | Synvox | 3,278 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!