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
<html> <head> <style> div.test { width: 500px; height: 500px; box-shadow: inset 70px 70px 50px 0px black; position: absolute; } div.cover { width: 500px; height: 500px; background-color: black; position: absolute; margin-top: 0px; margin-left: 30px; } </style> <body> <div class="test"> </div> <div class="cover"> </div> </body> </html>