box-shadow-005.html (914B)
1 <!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"> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-box-shadow"> 7 <link rel="match" href="reference/box-shadow-005-ref.html"> 8 <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>