-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (106 loc) · 2.83 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html {
height: 100%;
}
body {
font-family: sans-serif;
background: linear-gradient(#999999,#000000) no-repeat;
background: -moz-linear-gradient(#999999,#000000) no-repeat;
background: -ms-linear-gradient(#999999,#000000) no-repeat;
background: -o-linear-gradient(#999999,#000000) no-repeat;
background: -webkit-linear-gradient(#999999,#000000) no-repeat;
background-size: cover;
height: 100%;
color: #fff;
}
.box-wrapper {
padding: 10px;
position: relative;
}
.error-text {
color: #fff;
font-size: 0.9em;
position: absolute;
top: 20px;
left: 20px;
}
.box-left {
width: 250px;
height: 35px;
float: left;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 6px;
border-top-left-radius: 6px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 6px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.box-right {
float: left;
width: 20px;
height: 35px;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomright: 6px;
-moz-border-radius-bottomleft: 0;
border-top-left-radius: 0;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 0;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.box-middle {
border-bottom: 1px solid #fff;
width: 15px;
float: left;
height: 36px;
}
.arrow {
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
border-top: 1px solid #fff;
border-left: 1px solid #fff;
width: 10px;
height: 10px;
margin-top: -6px;
margin-left: 2px;
}
</style>
</head>
<body>
<div class="box-wrapper">
<div class="error-text">This field is required.</div>
<div class="box-left"></div>
<div class="box-middle">
<div class="arrow"></div>
</div>
<div class="box-right"></div>
</div>
</body>
</html>