border-radius-greater-than-width-ref.html (746B)
1 <!DOCTYPE html> 2 <link rel="author" title="Lin Peng" href="mailto:penglin220@gmail.com"> 3 <link rel="help" href="http://www.w3.org/TR/css3-background/#border-radius"> 4 <head> 5 <style> 6 .div1 7 { 8 width: 109px; 9 height: 100px; 10 background: lightgreen; 11 border-top-right-radius: 10px; 12 clip-path: polygon(0 0, 109px 0px, 109px 100px, 100px 100px); 13 } 14 .div2 15 { 16 position: relative; 17 top: -100px; 18 width: 109px; 19 height: 200px; 20 background: black; 21 border-bottom-left-radius: 10px; 22 clip-path: polygon(0 0, 0px 200px, 100px 200px, 100px 100px); 23 } 24 </style> 25 </head> 26 <body> 27 <div class="div1"></div> 28 <div class="div2"></div> 29 </body>