-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (58 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>index</title>
<link rel="stylesheet" href="static/normalize.min.css">
</head>
<style type="text/css">
body {
background: url("static/x.jpg") 0 0/cover fixed no-repeat;
overflow: hidden;
}
.box::before {
content: '';
background: url("static/x.jpg") 0 0/cover fixed no-repeat;
-webkit-filter: blur(10px);
filter: blur(10px);
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: -1;
pointer-events: none;
}
.box {
width: 500px;
height: 300px;
left: calc( 50% - 250px );
top: 20%;
position: absolute;
border-radius: 5px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
font: 1.5vw Arial;
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
</style>
<body>
<div class="box">
<span>Drag Me</span>
</div>
<script src='static/jquery-2.2.4.min.js'></script>
<script src='static/jquery-ui.min.js'></script>
<script type="text/javascript">
$("document").ready(function(){
$(".box").draggable();
});
</script>
</body>
</html>