Nesting countersEdit
How do I make an nesting countersedit?
What is a nesting countersedit? How do you make a nesting countersedit? This script and codes were developed by Томаш Хамлай on 11 November 2022, Friday.
Nesting countersEdit - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Nesting countersEdit</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters -->
<ol> <li>item</li> <!-- 1 --> <li>item <!-- 2 --> <ol> <li>item</li> <!-- 2.1 --> <li>item</li> <!-- 2.2 --> <li>item <!-- 2.3 --> <ol> <li>item</li> <!-- 2.3.1 --> <li>item</li> <!-- 2.3.2 --> </ol> <ol> <li>item</li> <!-- 2.3.1 --> <li>item</li> <!-- 2.3.2 --> <li>item</li> <!-- 2.3.3 --> </ol> </li> <li>item</li> <!-- 2.4 --> </ol> </li> <li>item</li> <!-- 3 --> <li>item</li> <!-- 4 -->
</ol>
<ol> <li>item</li> <!-- 1 --> <li>item</li> <!-- 2 -->
</ol>
</body>
</html>
Nesting countersEdit - Script Codes CSS Codes
ol { counter-reset: section; /* Creates a new instance of the section counter with each ol element */ list-style-type: none;
}
li::before { counter-increment: section; /* Increments only this instance of the section counter */ content: counters(section,".") " "; /* Adds the value of all instances of the section counter separated by a ".". */ /* if you need to support < IE8 then make sure there is no space after the ',' */
}
![Nesting countersEdit - Script Codes](http://shots.codepen.io/TomashKhamlai/pen/yVXpEq-512.jpg)
Developer | Томаш Хамлай |
Username | TomashKhamlai |
Uploaded | November 11, 2022 |
Rating | 3 |
Size | 1,825 Kb |
Views | 8,096 |
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 |
Teplomer.in.ua calculator | 8,541 Kb |
SVG-button Responsive | 2,481 Kb |
SVG Mascing Stretching AR | 2,384 Kb |
Firefox SVG Example | 1,935 Kb |
C | 1,269 Kb |
Calc2 | 3,704 Kb |
Penalty Calculator | 5,771 Kb |
Calc.js | 3,338 Kb |
SVG Clipping | 2,784 Kb |
Audiolib.js | 4,063 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 |
Two column of responsive height | Fixie | 2,908 Kb |
Automatic scroll | Skeurentjes | 4,042 Kb |
Mondrian | Chrisarmstrong | 2,787 Kb |
Shape Outside - Polygon | Stacy | 3,954 Kb |
Pure CSS Dial | Lukewatts | 3,018 Kb |
Reading Grid | Tappily | 4,306 Kb |
Css3 slide | Nakome | 3,190 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
A Pen by Jonas Bjork | Jonasbjork | 3,115 Kb |
Zeichensatz | Moklick | 2,058 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!