Commit cff9025 1 parent a62b49e commit cff9025 Copy full SHA for cff9025
File tree 1 file changed +33
-1
lines changed
1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 ">
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
6
< 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
+ }
8
39
</ style >
40
+
9
41
</ head >
10
42
< body >
11
43
</ body >
You can’t perform that action at this time.
0 commit comments