01
02
03
04
05
06
07
08
09
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
|
<style type="text/css">
.blur .t,
.blur .r,
.blur .b,
.blur .l,
.blur .c
{
position: relative;
z-index: 1;
display: block;
background-repeat: no-repeat;
background-position: left top;
left: 0; top: 0;
}
.blur .t { left: -10px; top: -10px; }
.blur .r { background-position: right top; left: 20px; }
.blur .b { background-position: right bottom; top: 20px; }
.blur .l { background-position: left bottom; left: -20px; }
.blur .c { left: 10px; top: -10px; margin-right: 10px; }
#example { background: #aeb0b1; }
#example .blur { background: #ffffff; //border: 1px solid #ffffff; }
#example .blur .t { background-image: url('blur-t.gif'); }
#example .blur .r { background-image: url('blur-r.gif'); }
#example .blur .b { background-image: url('blur-b.gif'); }
#example .blur .l { background-image: url('blur-l.gif'); }
#example .blur .reducer { padding: 1em; }
</style>
<div id="example">
<div class="blur"><div class="t"><div class="r">
<div class="b"><div class="l"><div class="c">
<div class="reducer">
Any content
</div>
</div></div></div>
</div></div></div>
</div>
|