-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblur.css
64 lines (58 loc) · 864 Bytes
/
blur.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
#blur-div {
margin: 0 auto;
position: relative;
overflow: hidden;
}
*{
margin: 0;
padding: 0;
}
#blur-image {
display: block;
margin: 0 auto;
filter: blur(15px);
-webkit-filter: blur(15px);
-moz-filter: blur(15px);
-ms-filter: blur(15px);
-o-filter: blur(15px);
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
#canvas {
display: block;
margin: 0 auto;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.button {
display: block;
position: absolute;
z-index: 10;
width: 100px;
height: 30px;
color: white;
text-decoration: none;
text-align: center;
line-height: 30px;
border-radius: 5px;
}
#reset-button {
left: 50px;
bottom: 20px;
background-color: #058;
}
#reset-button:hover{
background-color: #047;
}
#show-button{
right: 50px;
bottom: 20px;
background-color: #085;
}
#show-button:hover{
background-color: #074;
}