-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (58 loc) · 1.05 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: sans-serif;
background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}
#wrapper {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: white;
border-radius: 20px;
padding: 40px;
width: 60%;
max-width: 500px;
}
#image-wrapper {
width: 300px;
}
#image {
width: 100%;
}
#header {
padding: 20px;
display: flex;
font-size: 30px;
}
#number {
margin-right: 15px;
}
#name {
text-transform: capitalize;
}
#button {
background-color: #ff7a22;
border-radius: 5px;
color: white;
font-weight: bold;
padding: 10px 30px;
cursor: pointer;
transition: all 0.2s ease;
}
#button:hover {
transform: translateY(-2px);
background-color: rgb(255, 136, 57);
}
#button:active {
transform: translateY(2px);
background-color: #ff7a22;
}