Pseudo-Elements - ::first line and ::first Letter
How do I make an pseudo-elements - ::first line and ::first letter?
::first-line::first-letter. What is a pseudo-elements - ::first line and ::first letter? How do you make a pseudo-elements - ::first line and ::first letter? This script and codes were developed by Fezzik on 25 November 2022, Friday.
Pseudo-Elements - ::first line and ::first Letter - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pseudo-Elements - ::first line and ::first Letter</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<!DOCTYPE html>
<html>
<head> <title>Pseudo-Elements</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Pseudo-Elements – <em>::first-line</em> and <em>::first-letter</em></h1> <p class="intro">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nullam lobortis elit id sem placerat sagittis. Phasellus aliquet ac sem ut aliquet. Maecenas eu magna at nulla viverra euismod.</p>
</body>
</html>
</body>
</html>
Pseudo-Elements - ::first line and ::first Letter - Script Codes CSS Codes
body { margin: 80px auto; width: 70%; color: #222; font: normal 1.1em/1.5 Sans-Serif;
}
/***** Pseudo-elements *****/
/* pseudo-elements use two colons (::) Pseudo-elements target virtual elements that are not defined in the markup and don’t appear in the source code. NOTE: pseudo-classes use one colon (:)
*/
p::first-line { color: royalblue; font-weight: bold; font-size: 32px;
}
.intro::first-letter { float:left; margin: 10px 10px; padding: 5px 10px; background: #e0e0e0; font-size: 100px; line-height: 1;
}
Developer | Fezzik |
Username | Fezzik |
Uploaded | November 25, 2022 |
Rating | 3 |
Size | 2,067 Kb |
Views | 12,144 |
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 |
List Properties | 2,186 Kb |
Transitions - Part 2 | 2,009 Kb |
Background Properties | 2,672 Kb |
Print Stylesheets | 6,153 Kb |
Box Shadows | 1,604 Kb |
Full-page Animation Project - Part 3 | 2,111 Kb |
3D Transforms - Part 1 | 2,176 Kb |
Web Fonts | 3,861 Kb |
Full-page Animation Project - Part 1 | 2,178 Kb |
Flexbox - Part 1 | 1,912 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 |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Video mute | Leon9208 | 2,131 Kb |
Board Site | IndianaLuft | 10,542 Kb |
Mobile Sub Menu Concept | Berdejitendra | 2,790 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
A Pen by boilzzz | Boilzzz | 2,761 Kb |
Reading Grid | Tappily | 4,306 Kb |
Example SVGZ Data URI | Joeyhoer | 2,981 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 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!