generated from HariVignesh18/Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (47 loc) · 879 Bytes
/
style.css
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
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background: linear-gradient(135deg, #FFD700, #FFA500);
color: #333;
}
.hero h1 {
font-size: 36px;
margin-bottom: 20px;
}
.input {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
input[type="number"] {
width: 80%;
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="button"] {
background-color: #FFA500;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="button"]:hover {
background-color: #FF6347;
}
#ans {
font-size: 18px;
margin-top: 10px;
}