Summary with pseudo-element
How do I make an summary with pseudo-element?
What is a summary with pseudo-element? How do you make a summary with pseudo-element? This script and codes were developed by Twikito on 11 September 2022, Sunday.
Summary with pseudo-element - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Summary with pseudo-element</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Lato:300'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul> <li><a href="#" data-page="1">Lorem ipsum</a></li> <li><a href="#" data-page="4">Delectus, sint</a></li> <li><a href="#" data-page="5">Vel, illo</a></li> <li><a href="#" data-page="8">Dolorem, excepturi</a></li> <li><a href="#" data-page="11">Ab, reprehenderit</a></li> <li><a href="#" data-page="13">Ipsum, adipisci</a></li> <li><a href="#" data-page="17">Cumque, totam</a></li> <li><a href="#" data-page="20">Incidunt, alias</a></li> <li><a href="#" data-page="21">Itaque, necessitatibus</a></li> <li><a href="#" data-page="25">Quidem, qui</a></li>
</ul> <script src="js/index.js"></script>
</body>
</html>
Summary with pseudo-element - Script Codes CSS Codes
ul { width: 60%; margin: auto; padding: 0; list-style: none;
}
li { margin: .5em 0;
}
a { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; text-decoration: none; -webkit-transition: color .2s ease-in-out; transition: color .2s ease-in-out;
}
a::before { height: .1em; -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; background: left bottom/contain repeat-x url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDIiPjxjaXJjbGUgZmlsbD0iI2ZmZiIgY3g9IjMuNSIgY3k9IjEiIHI9IjEiLz48L3N2Zz4=); content: '';
}
a::after { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; content: "p." attr(data-page);
}
a:hover, a:focus { color: black;
}
/* misc */
html, body { height: 100%;
}
body { display: -webkit-box; display: -ms-flexbox; display: flex; background: #3498db; color: white; font: 1.5em/1.4 "lato"; font-weight: 300;
}
a { color: inherit;
}
Summary with pseudo-element - Script Codes JS Codes
/* NO JS!
*/
Developer | Twikito |
Username | Twikito |
Uploaded | September 11, 2022 |
Rating | 4 |
Size | 2,971 Kb |
Views | 22,264 |
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 |
Beautiful Textual Map of the USA with CSS | 7,816 Kb |
Easy and Bulletproof ScrollTo Script | 4,111 Kb |
Picture hover effect with pseudo-elements | 2,749 Kb |
Easy CSS3 checkboxes and radio buttons | 2,742 Kb |
Image with hover CSS3 effect and full overlay | 2,724 Kb |
Image with hover CSS3 effect and bottom overlay | 2,630 Kb |
Input focus effect with only CSS | 4,411 Kb |
Breadcrum for shopping path with only css | 2,793 Kb |
CSS3 Box Shadows Effects | 2,193 Kb |
LavaLamp effect with CSS | 2,720 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 |
Material design - button rainbow circle | Kunukn | 3,652 Kb |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
Off Canvas | Mariamarica | 1,870 Kb |
Mega menu | DimaZubkov | 5,066 Kb |
Flat iOS 7 Safari Icon | Rss | 3,332 Kb |
Expandable Left Side Bar with jQuery animate | Retrofuturistic | 2,483 Kb |
Importable Clearfix | Corysimmons | 1,411 Kb |
A Pen by utcwebdev | Utcwebdev | 2,856 Kb |
Old calculator | Gnarfugh | 2,815 Kb |
Elephants Full screen site | Orrinward | 3,981 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!