-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
94 lines (86 loc) · 1.76 KB
/
index.html
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
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Nenvy</title>
<style>
@import url(https://fonts.googleapis.com/css?family=Oswald:400);
body {
background: #444;
font-size: 1em;
font-family: 'Oswald', 'Helvetica Neue', Helvetica;
line-height: 1.4;
}
.banner {
position: relative;
z-index: 1;
margin: 80px auto;
width: 330px;
}
.banner .line {
margin: 0 0 10px;
width: 100%;
height: 78px;
box-shadow: 10px 10px 10px rgba(0,0,0,0.05);
text-align: center;
text-transform: uppercase;
font-size: 3em;
line-height: 78px;
transform: skew(0, -15deg);
}
.banner .line:after,
.banner .line:first-child:before {
position: absolute;
top: 44px;
left: 0;
z-index: -1;
display: block;
width: 330px;
height: 78px;
border-radius: 4px;
background: rgba(180,180,180,0.8);
content: '';
transform: skew(0, 15deg);
}
.banner .line:first-child:before {
top: -10px;
right: 0;
left: auto;
}
.banner .line:first-child:before,
.banner .line:last-child:after {
width: 0;
height: 0;
border-width: 38px;
border-style: solid;
border-color: rgba(180,180,180,0.8) rgba(180,180,180,0.8) transparent transparent;
background: transparent;
}
.banner .line:last-child:after {
top: 12px;
border-color: transparent transparent rgba(180,180,180,0.8) rgba(180,180,180,0.8);
}
.banner span {
display: block;
width: 100%;
height: 100%;
border-radius: 4px;
background: rgba(255,255,255,0.9);
color: #666;
text-shadow: 1px 1px 0 #444;
}
</style>
</head>
<body>
<div class="banner">
<div class="line">
<span>Web Design</span>
</div>
<div class="line">
<span>By Nenvy</span>
</div>
</div>
</body>
</html>