File tree Expand file tree Collapse file tree 1 file changed +56
-6
lines changed
Expand file tree Collapse file tree 1 file changed +56
-6
lines changed Original file line number Diff line number Diff line change 1+
2+
3+ body {
4+ background-color : # f7f3f2 ;
5+ color : # 333 ;
6+ font-family : Arial, sans-serif;
7+ margin : 0 ;
8+ padding : 0 ;
9+ display : flex;
10+ justify-content : center;
11+ align-items : center;
12+ height : 100vh ;
13+ }
14+
115.centre {
2- position : fixed;
3- top : 50% ;
4- left : 50% ;
5- -webkit-transform : translate (-50% , -50% );
6- transform : translate (-50% , -50% );
16+ padding : 2rem 2rem ;
17+ border-radius : 12px ;
18+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.8 );
19+ text-align : center;
720}
821
22+ /* Input Field */
923# alarmSet {
10- margin : 20px ;
24+ margin : 1rem ;
25+ padding : 1rem ;
26+ border : 1px solid # ccc ;
27+ border-radius : 6px ;
28+ font-size : 1rem ;
29+ max-width : 300px ;
30+ box-sizing : border-box;
31+ }
32+
33+ # alarmSet ::placeholder {
34+ color : # 888 ;
35+ font-style : italic;
36+ font-family : 'Arial' , sans-serif;
37+ font-size : 0.8rem ;
1138}
1239
1340h1 {
1441 text-align : center;
1542}
43+
44+ /* Button */
45+ button {
46+ background-color : # 6c63ff ;
47+ color : white;
48+ border : none;
49+ border-radius : 6px ;
50+ padding : 10px 20px ;
51+ font-size : 16px ;
52+ cursor : pointer;
53+ transition : background-color 0.3s ease, transform 0.2s ease;
54+ }
55+
56+ button : hover {
57+ background-color : # dedee8 ;
58+ color : # 6c63ff ;
59+ transform : translateY (-2px );
60+ }
61+
62+ button : active {
63+ background-color : # 4b47b0 ;
64+ transform : translateY (0 );
65+ }
You can’t perform that action at this time.
0 commit comments