blob: caa99f280796f2ccae9b926f14f8355599f02add (
plain)
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
|
<!doctype HTML>
<html>
<head>
<style>
html {
background: lightpink;
}
div {
position: relative;
width: 200px;
height: 200px;
}
.outer {
background-color: blue;
box-shadow: -50px -50px 0px 0px rgba(0,0,0,1);
left: 100px;
top: 100px;
}
.inner {
background-color: red;
left: 50px;
top: 50px;
}
</style>
</head>
<body>
</body>
<div class="outer">
<div class="inner"></div>
</div>
</html>
|