-
Notifications
You must be signed in to change notification settings - Fork 0
/
trial.html
125 lines (113 loc) · 2.16 KB
/
trial.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!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;
}
ul {
counter-reset: id;
text-align:left;
background-color:#DAF7A6;
box-shadow: 2px 2px 2px 1px #313132;
max-width: 350px;
position:absolute;
height:70%;
left:50%;
transform: translateX(-50%);
padding:0px;
overflow-y:hidden;
}
li {
counter-increment: id;
padding: 12px 5px;
border-bottom:1px solid #A2B87C;
cursor:pointer;
display: flex;
align-items: center;
}
li::before {
content: counter(id, decimal-leading-zero);
font-size: 1.6rem;
font-weight: bolder;
min-width: 50px;
padding-left:12px;
padding-right:0px;
color:black;
}
li:hover{
background-color:#900C3F;
color:white;
}
li:hover:before{
color:white;
}
ul:hover{
overflow-y:scroll;
}
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;
}
/* Scrollbar Style
*/
/* List */
/*ul {
counter-reset: id;
padding: 0;
max-width: 350px;
position:absolute;
height:0%;
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;
}
*/
</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>