-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcard.css
More file actions
73 lines (63 loc) · 1011 Bytes
/
Copy pathcard.css
File metadata and controls
73 lines (63 loc) · 1011 Bytes
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
a {
text-decoration: none;
color: white;
}
.cards {
display: flex;
width: 100%;
height: 90vh;
align-items: center;
}
.card {
margin: 1rem;
padding: 12px;
height: 400px;
width: 250px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
transition: 0.2s;
}
.card:hover {
transform: scale(1.01);
}
.card_header {
height: 180px;
}
.card_header > img {
border-radius: 50%;
height: 180px;
}
.card_body {
height: 170px;
display: grid;
grid-template: 1fr 2fr;
align-content: space-around;
color: #333;
}
.card_body > span {
color: #111;
font-size: 32px;
font-weight: bold;
}
.card_btn {
width: 100px;
height: 40px;
border-radius: 10px;
background-color: #f6e082;
border-style: none;
color: whitesmoke;
font-style: bold;
font-size: 20px;
transition: 0.2s;
}
.card_btn:hover {
transform: scale(1.1);
cursor: pointer;
}
@media screen and (max-width: 600px) {
.cards {
flex-direction: column;
}
}