-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (80 loc) · 1.74 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@import url("https://fonts.googleapis.com/css?family=Lobster");
@import url("https://fonts.googleapis.com/css?family=Anton");
body {
background-color: crimson;
}
.box {
position: absolute;
top: 100px;
left: 50%;
background-color: #3c40c6;
width: 400px;
text-align: center;
-webkit-transform: translate(-50%) skewY(-8deg);
transform: translate(-50%) skewY(-8deg);
}
.box:before {
content: '';
position: absolute;
left: -25px;
width: 25px;
height: 100%;
background-color: #2f32a0;
-webkit-transform-origin: right bottom;
transform-origin: right bottom;
-webkit-transform: skewY(45deg);
transform: skewY(45deg);
}
.box:after {
content: '';
position: absolute;
left: 0px;
top: -24px;
width: 100%;
height: 25px;
background-color: #6367d2;
-webkit-transform-origin: bottom left;
transform-origin: bottom left;
-webkit-transform: skewX(45deg);
transform: skewX(45deg);
}
.box h4 {
padding: 10px;
background-color: white;
font-family: 'Lobster', cursive;
text-shadow: 0 2px 5px #333;
}
.box h4::before {
content: '';
position: absolute;
left: -25px;
top: 4px;
background-color: #ddd;
width: 25px;
height: 56px;
-webkit-transform: skewY(45deg);
transform: skewY(45deg);
}
.box p {
color: white;
padding: 0 10px;
font-family: 'Anton', sans-serif;
}
.left_text, .right_text {
text-align: center;
display: inline-block;
font-size: 100px;
font-weight: bold;
margin-top: 100px;
background: linear-gradient(70deg, #00B7FF, #FFFFC7);
text-transform: capitalize;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.left_text {
float: left;
}
.right_text {
float: right;
}
/*# sourceMappingURL=style.css.map */