button-inside-scroll-container-ref.html 360 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <style>
  3. input[type="submit"] {
  4. display: block;
  5. width: 100px;
  6. height: 100px;
  7. background-color: green;
  8. outline: none;
  9. border: 5px solid magenta;
  10. box-sizing: border-box;
  11. }
  12. </style>
  13. <input type="submit" value="2" />
  14. <input type="submit" value="3" />
  15. <input type="submit" value="4" />