File tree Expand file tree Collapse file tree 1 file changed +52
-4
lines changed
Expand file tree Collapse file tree 1 file changed +52
-4
lines changed Original file line number Diff line number Diff line change 1+ /* Center everything on the page */
12.centre {
23 position : fixed;
34 top : 50% ;
45 left : 50% ;
5- -webkit-transform : translate (-50% , -50% );
66 transform : translate (-50% , -50% );
7+ text-align : center;
8+ font-family : Arial, sans-serif;
79}
810
9- # alarmSet {
10- margin : 20px ;
11+ /* Heading */
12+ h1 {
13+ text-align : center;
14+ font-size : 2em ;
15+ margin-bottom : 20px ;
16+ transition : background-color 0.2s ease;
1117}
1218
13- h1 {
19+ /* Input field */
20+ # alarmSet {
21+ width : 80px ;
22+ padding : 5px ;
23+ font-size : 1em ;
24+ margin-bottom : 20px ;
1425 text-align : center;
1526}
27+
28+ /* Buttons container */
29+ .buttons {
30+ display : flex;
31+ justify-content : center;
32+ flex-wrap : wrap;
33+ gap : 10px ; /* space between buttons */
34+ margin-top : 10px ;
35+ }
36+
37+ /* Buttons */
38+ button {
39+ padding : 10px 20px ;
40+ font-size : 1em ;
41+ cursor : pointer;
42+ border-radius : 5px ;
43+ border : none;
44+ background-color : # 007bff ;
45+ color : white;
46+ transition : background-color 0.2s ease, transform 0.1s ease;
47+ }
48+
49+ button : hover {
50+ background-color : # 0056b3 ;
51+ transform : scale (1.05 );
52+ }
53+
54+ button : active {
55+ transform : scale (0.95 );
56+ }
57+
58+ /* Input and buttons spacing */
59+ input ,
60+ button {
61+ margin : 5px ;
62+ }
63+
You can’t perform that action at this time.
0 commit comments