boxshadow-button-ref.html 330 B

12345678910111213141516171819202122232425
  1. <!DOCTYPE HTML>
  2. <style>
  3. #a, #b {
  4. width: 100px;
  5. height: 100px;
  6. background-color: grey;
  7. -moz-appearance: none;
  8. box-shadow: 4px 4px 3px black;
  9. border: none !important;
  10. position: absolute;
  11. }
  12. #a {
  13. top: 20px;
  14. left: 20px;
  15. }
  16. #b {
  17. top: 170px;
  18. left: 20px;
  19. </style>
  20. <div id="a">&nbsp;</div>
  21. <div id="b">&nbsp;</div>