Edit This Code:
See Result »
<!DOCTYPE html> <html> <head> <style> div { width: 300px; height: 100px; padding: 15px; background-color: yellow; box-shadow: 10px 10px 5px grey; } </style> </head> <body> <div>This is a div element with a box-shadow</div> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss3_box-shadow3 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:02:58 GMT --> </html>
Result: