-
Notifications
You must be signed in to change notification settings - Fork 0
/
sppel.html
53 lines (52 loc) · 1.82 KB
/
sppel.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
div {
background: #fff;
background: -moz-linear-gradient(top, #dedede 0%, #ffffff 100%);
background: -webkit-linear-gradient(
top,
#dedede 0%,
#ffffff 100%
);
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0, #dedede),
color-stop(1, #ffffff)
);
background: -o-linear-gradient(top, #dedede 0%, #ffffff 100%);
background: -ms-linear-gradient(top, #dedede 0%, #ffffff 100%);
background: linear-gradient(top, #dedede 0%, #ffffff 100%);
margin: 0 auto;
width: 200px;
padding: 40px;
text-align: center;
position: relative;
box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 2px;
border-radius: 10px;
}
div:after {
content: "";
position: absolute;
box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 2px;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
bottom: -10px;
left: 50px;
border-width: 10px;
border-style: solid;
border-color: transparent #fff #fff transparent;
}
</style>
</head>
<body>
<div>hello world</div>
</body>
</html>