Skip to content

Commit cff9025

Browse files
Update index.html
1 parent a62b49e commit cff9025

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

index.html

+33-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,40 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>EyeRelax-20 Mins Alarm</title>
7-
<style>
7+
8+
<style>
9+
body {
10+
display: flex;
11+
justify-content: center;
12+
align-items: center;
13+
height: 100vh;
14+
font-family: Arial, sans-serif;
15+
position: relative;
16+
flex-direction: column;
17+
overflow: hidden; /* Prevent scrolling */
18+
}
19+
20+
#dropdown {
21+
display: none;
22+
position: absolute;
23+
top: 40px;
24+
right: 10px;
25+
background-color: #ccc; /* Set the dropdown list to grey */
26+
border: 1px solid black;
27+
z-index: 10;
28+
}
29+
30+
#dropdown div {
31+
padding: 5px;
32+
cursor: pointer;
33+
background-color: #ccc; /* Default option background color */
34+
}
35+
36+
#dropdown div:hover {
37+
background-color: #bbb; /* Slightly darker grey on hover */
38+
}
839
</style>
40+
941
</head>
1042
<body>
1143
</body>

0 commit comments

Comments
 (0)