-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (70 loc) · 1.59 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
69
70
71
body{
background-color: #000000;
background-image: linear-gradient(400deg, #000000 0%, #414141 74%);
}
.heading{
font-family: 'Dosis', sans-serif;
font-size: 8rem;
color: aliceblue;
text-align: center;
padding-top: 3rem;
overflow: hidden;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% 100%;
background-position: 100%;
}
.gradient-text{
background: linear-gradient(to right, green, white, red);
background-size: 200% 200%;
animation: rainbow 2s ease-in-out infinite;
background-clip: text;
-webkit-background-clip:text;
color:rgba(0,0,0,1);
font-size:5rem;
/* width:80vw; */
/* margin:30vh auto; */
transition: color .4s ease-in-out;
text-transform:uppercase;
font-weight:900;
}
.gradient-text:hover{
color:rgba(0,0,0,0);
}
@keyframes rainbow {
0%{background-position:left}
50%{background-position:right}
100%{background-position:left}
}
.txt{
color: white;
}
.custom-card{
height: 40rem;
width: 30rem;
margin: 5rem;
box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2);
transition: 0.3s;
}
.custom-card:hover{
transition: transform .2s;
transform: scale(1.1);
}
.custom-card:hover .title-txt{
color: red;
}
.card-link{
text-decoration: none;
}
.custom-img{
height: 23rem;
width: 20rem;
justify-content: center;
}
.custom-deck{
padding-top: 5rem;
display: flex;
justify-content: center;
height : 70rem;
}