clipping-1.html 354 B

1234567891011121314151617181920
  1. <!doctype html>
  2. <html><head>
  3. <title>Border clipping</title>
  4. <style>
  5. .div1 { width: 50px; height: 50px;
  6. border: 10px solid black;
  7. border-radius: 20px;
  8. position: absolute;
  9. background: black;
  10. left: 50px;
  11. top: 50px;
  12. background-clip: padding-box;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <div class="div1"></div>
  18. </body></html>