clip-border-area-border-on-top.html (736B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Backgrounds Test: background-clip:border-area</title> 5 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#background-clip"> 6 <link rel="match" href="clip-border-area-border-on-top-ref.html"> 7 <meta name="assert" content="A non-transparent border is painted on top of the filled border-area"> 8 <style> 9 .test { 10 margin: 20px; 11 width: 300px; 12 height: 200px; 13 box-sizing: border-box; 14 border: 50px solid rgba(0, 128, 0, 0.75); 15 background-clip: border-area, border-box; 16 background-color: orange; 17 background-image: url(../resources/green-100.png), none; 18 } 19 </style> 20 </head> 21 <body> 22 <div class="test"></div> 23 </body> 24 </html>