boxshadow-skiprect-ref.html 360 B

12345678910111213141516171819202122232425
  1. <!DOCTYPE HTML>
  2. <style>
  3. #thediv {
  4. width: 400px;
  5. height: 250px;
  6. position: absolute;
  7. top: -500px;
  8. left: -500px;
  9. box-shadow: 540px 540px 10.5px black;
  10. }
  11. #blankdiv {
  12. width: 400px;
  13. height: 250px;
  14. background-color: white;
  15. position: absolute;
  16. top: 40px;
  17. left: 40px;
  18. }
  19. </style>
  20. <div id="thediv">&nbsp;</div>
  21. <div id="blankdiv">&nbsp;</div>