html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<ol>
<li>Chief Executive Director</li>
<li>Managing Director
<ol>
<li>HR Department</li>
<li>Sales Department</li>
</ol>
</li>
<li>Engineering Department
<ol>
<li>Engineers</li>
<li>Technicians</li>
</ol>
</li>
</ol>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body {
}
ol {
list-style: none;
counter-reset: section;
}
li {
counter-increment: section;
margin-bottom: 5px;
line-height: 1.8em;
}
li:before {
margin-right: 8px;
content: counters(section, ".") " ";
background: steelblue;
border-radius: 100%;
color: white;
width: 1.8em;
height: 1.8em;
line-height: 1.8em;
text-align: center;
display: inline-block;
box-shadow: 0 0 5px #aaa;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run