-
Notifications
You must be signed in to change notification settings - Fork 0
/
list-style1.html
111 lines (95 loc) · 1.91 KB
/
list-style1.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<style>
body {
padding-top: 130px;
color: black;
background-color: #CEF986;
overflow-y: hidden;
text-align:center;
}
h1{
font-family: 'Acme', sans-serif;
}
/* Scrollbar Style */
ul::-webkit-scrollbar-track
{
border-radius: 10px;
background-color: #white;
}
ul::-webkit-scrollbar
{
width: 5px;
background-color: #F7F7F7;
}
ul::-webkit-scrollbar-thumb
{
border-radius: 10px;
background-color: #C70039;
}
/* List */
ul {
counter-reset: id;
padding: 0;
max-width: 350px;
position:absolute;
height:70%;
top:50%;
left:50%;
transform: translate(-50%,-25%);
overflow-y:hidden;
background-color:#DAF7A6;
box-shadow: 2px 2px 2px 1px #313132;
}
ul:hover{
overflow-y:scroll;
}
/* List element */
li {
text-align: left;
counter-increment: id;
padding: 12px 2px;
border-bottom:1px solid #A2B87C;
cursor:pointer;
display: flex;
align-items: center;
}
li:hover{
background-color:#900C3F;
color:white;
}
/* Element counter */
li::before {
content: counter(id, decimal-leading-zero);
font-size: 1.6rem;
text-align: right;
font-weight: bolder;
min-width: 50px;
padding-right: 12px;
color:#1178D8;
}
</style>
</head>
<body>
<h1>Custom Scrolldown List Item Style</h1>
<ul>
<li>Css List Style</li>
<li>Unordered List CSS</li>
<li>Ul List Style</li>
<li>HTML Custom list tutorial</li>
<li>Css list style example</li>
<li>HyperText Markup Language</li>
<li>Cascade StyleSheet</li>
<li>JavaScript- Scripting Language</li>
<li>Jquery - JavaSCript framework</li>
<li>Node.js- javaScript on Serverside</li>
<li>Asp.net - MVC framework with C#</li>
<li>Php HyperText Processor</li>
<li>Wordpress-Content Management System</li>
<li>Java Object Oriented Programming Language</li>
<li>Python All purpose Dynamic Programming Language</li>
<li>Ruby Dynamic Programming language for Website and mobile apps</li>
</ul>
</body>
</html>