-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
79 lines (66 loc) · 1.28 KB
/
styles.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* For Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: rgb(201, 235, 249);
}
.container {
text-align: center;
}
.inputs {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
h1 {
text-align: center;
font-size: 3rem;
}
.inputs label {
font-size: 20px;
}
.inputs input {
text-align: center;
max-width: 50px;
padding: 10px 20px;
font-size: 20px;
border-radius: 10px;
border: none;
outline: none;
}
.inputs button {
font-size: 15px;
padding: 10px 20px;
border: none;
border-radius: 2rem;
background: hsl(16, 100%, 66%);
cursor: pointer;
font-weight: bold;
}
.inputs button:hover {
background: hsl(16, 100%, 77%);
}
.inputs button:active {
background: hsl(16, 100%, 88%);
}
#resultNumber {
margin: 20px;
font-size: 40px;
}
#resultImage img{
width: 100px;
height: 100px;
margin: 10px;
border-radius: 20px;
}