-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
72 lines (59 loc) · 1.2 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
72
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
perspective: 600px;
background-color: #ffffff;
overflow: hidden;
}
.vs-code {
width: 200px;
height: 400px;
margin: 100px auto;
transform: rotateY(45deg);
transform-style: preserve-3d;
}
.vs-code-logo {
width: 100%;
height: 100%;
position: relative;
background-color: #3fa5e2;
box-shadow: -40px 0 30px -35px rgba(0, 0, 0, 0.3);
border-radius: 0 10px 10px 0;
transform: translateZ(100px);
transform-style: preserve-3d;
}
.vs-code-logo:before,
.vs-code-logo:after {
content: '';
display: block;
width: 100%;
height: 200%;
background-color: #0877b9;
position: absolute;
}
.vs-code-logo:before {
border-radius: 0 0 20px 20px;
top: 0;
transform: rotateX(-65deg) skewY(20deg);
transform-origin: left top;
}
.vs-code-logo:after {
border-radius: 20px 20px 0 0;
box-shadow: -30px 0 30px -35px rgba(0, 0, 0, 0.3);
bottom: 0;
transform: rotateX(65deg) skewY(-20deg);
transform-origin: left bottom;
}
h1 {
font-size: 60px;
font-family: Arial;
text-align: center;
position: relative;
bottom: 2pc;
background: linear-gradient(#3fa5e2, #0877b9);
-webkit-background-clip: text;
color: transparent;
}