-
Notifications
You must be signed in to change notification settings - Fork 0
/
毛玻璃效果.html
68 lines (65 loc) · 1.56 KB
/
毛玻璃效果.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
<!DOCTYPE html>
<!--
Created using JS Bin
http://c.h5jun.com
Copyright (c) 2018 by anonymous (//c.h5jun.com/mena/1/edit)
Released under the MIT license: http://jsbin.mit-license.org
-->
<meta name="robots" content="noindex">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
main,div::before{
background:url(https://ia.media-imdb.com/images/M/MV5BMTM1NjY4NTg4Nl5BMl5BanBnXkFtZTYwNDA0MTc3._V1_.jpg)
fixed 0/cover;
}
main{
//width: 100%;
margin: auto;
padding: 100px 29px;
border-radius: .3em;
text-shadow: 0 1px 1px hsla(0, 0%, 100%, .3);
box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .3) inset, 0 .3em 1em rgba(0, 0, 0, 0.12);
max-width:600px;
font: 150%/1.6 Baskerville, Palatino, serif;
}
div{
font-style: italic;
color: #000;
padding: 30px;
hyphens: auto;
background: hsla(0,0%,100%,.5);
overflow: hidden;
position: relative;
}
man>diV::before{
content:" ";
position:absolute;
top:0;left:0;right:0;bottom:0;
z-index:-1;
margin:-30px;
filter:blur(10px);
}
main > div cite{
font-style: normal;
}
main footer {
text-align: right;
}
</style>
</head>
<body>
<main class="main">
<div>
"O God, I could be bounded in a nutshell and count myself a king of infinite space, were it not that I have bad dreams."<br>
“即使我身处果壳之中,我仍以为自己是宇宙之王”
<footer>——
<cite>William Shakespeare</cite>
</footer>
</div>
</main>
</body>
</html>