blob: 705ced279d30e6113eed68b819b287f7e48219cd [file] [log] [blame]
Marc Silvermanca046702012-06-16 20:59:351<!DOCTYPE html>
2<html>
3<head>
4 <title>CSS Test Background: Box-Shadow property</title>
5 <link rel="author" title="Marc Silverman" href="mailto:silverman@adobe.com">
Marc Silvermanca046702012-06-16 20:59:356 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-box-shadow">
Ms2ger6c548622015-09-22 12:37:357 <link rel="match" href="reference/box-shadow-005-ref.html">
Marc Silvermanca046702012-06-16 20:59:358 <meta name="assert" content="Testing simple drop shadow with the box-shadow property">
9 <style type="text/css">
10 #shadow-div {
11 position: absolute;
12 top: 50px;
13 left: 5px;
14 box-shadow: rgba(0,255,0,1) 10px 10px;
15 background-color: #000;
16 width: 144px;
17 height: 144px;
18 }
19 #error {
20 position: absolute;
21 top: 60px;
22 left: 15px;
23 background-color: red;
24 width: 144px;
25 height: 144px;
26 }
27 </style>
28</head>
29<body>
30 <p>The test passes if there is a green drop shadow and no red.</p>
31 <div id="error">
32 </div>
33 <div id="shadow-div">
34 </div>
35</body>
36</html>