Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
62 lines (57 loc) · 1.39 KB
/
Copy pathstyle.css
File metadata and controls
62 lines (57 loc) · 1.39 KB
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
.container {
display: flex;
align-items: center;
justify-content: center;
}
.card_box {
max-width: 1200px;
width: 100%;
height: 250px;
border-radius: 20px;
background: linear-gradient(170deg, rgba(58, 56, 56, 0.623) 0%, rgb(31, 31, 31) 100%);
position: relative;
box-shadow: 0 25px 50px rgba(0,0,0,0.55);
cursor: pointer;
transition: all .3s;
}
.card_box:hover {
transform: scale(0.9);
}
.card_box span {
position: absolute;
overflow: hidden;
width: 150px;
height: 150px;
top: -10px;
left: -10px;
display: flex;
align-items: center;
justify-content: center;
}
.card_box span::before {
content: 'Github Link';
position: absolute;
width: 150%;
height: 40px;
background-image: linear-gradient(45deg, #ff6547 0%, #ffb144 51%, #ff7053 100%);
transform: rotate(-45deg) translateY(-20px);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
box-shadow: 0 5px 10px rgba(0,0,0,0.23);
}
.card_box span::after {
content: '';
position: absolute;
width: 10px;
bottom: 0;
left: 0;
height: 10px;
z-index: -1;
box-shadow: 140px -140px #cc3f47;
background-image: linear-gradient(45deg, #FF512F 0%, #F09819 51%, #FF512F 100%);
}