Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> div { width: 150px; height: 50px; background-color: #eee; box-shadow: inset 8px 8px 10px grey, 8px 8px 10px black; -moz-box-shadow: inset 8px 8px 10px grey, 8px 8px 10px black; -webkit-box-shadow: inset 8px 8px 10px grey, 8px 8px 10px black; } </style> </head> <body> <h2>Box-shadow with inset value</h2> <div></div> </body> </html>