-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
51 lines (45 loc) · 836 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
background: #1f1f1f;
}
body {
display: grid;
place-items: center;
}
.card {
position: relative;
width: 190px;
height: 254px;
background-color: #fff;
display: flex;
flex-direction: column;
justify-content: end;
padding: 12px;
gap: 12px;
border-radius: 8px;
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: none;
}
.card:hover {
background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
}
.textZodiac {
color: blueviolet;
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
font-size: 30px;
}
.imgZodiac {
width: 10rem;
display: flex;
justify-content: center;
align-items: center;
}