-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcard.component.scss
59 lines (53 loc) · 1.4 KB
/
card.component.scss
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
.card {
padding: 20px;
border-radius: 15px;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
text-align: center;
&:hover {
box-shadow: 0 0 40px #ffff00 !important;
h3 {
color: #ffff00;
-webkit-transform: scale(1.05);
transform: scale(1.05);
}
}
h3 {
font-size: 1.2rem;
font-weight: normal;
color: #fff;
letter-spacing: 3px;
line-height: 1.5;
-moz-osx-font-smoothing: grayscale;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-transition: -webkit-transform 0.25s ease-out;
transition: -webkit-transform 0.25s ease-out;
transition: transform 0.25s ease-out;
transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
@media (max-width: 899px) {
font-size: 0.9rem;
}
}
}
.grow {
-moz-osx-font-smoothing: grayscale;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-transition: -webkit-transform 0.25s ease-out;
transition: -webkit-transform 0.25s ease-out;
transition: transform 0.25s ease-out;
transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
&:hover {
-webkit-transform: scale(1.02);
transform: scale(1.02);
}
}