border-left-width-thick.html (1020B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Borders: border-right-width: thick equals 5px</title> 5 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-width"> 6 <link rel="match" href="reference/border-right-width-5px-ref.html"> 7 <meta name="assert" content="The 'thin' keyword for 'border-right-width' is 5px." /> 8 <style> 9 div { display: inline-block; height: 100px; } 10 .red-if-too-thin { width: 5px; background: red; } 11 .cb { position: relative; } 12 .red-if-too-thick { width: 20px; background: red; } 13 .overlap-red-if-too-thick { width: 20px; background: white; position: absolute; left: 0; } 14 .border-test { border-right-style: solid; border-right-width: thick; margin-left: -5px; } 15 </style> 16 </head> 17 <body> 18 <p>There should be a black line below and no red.</p> 19 <div class=red-if-too-thin></div><!-- 20 --><div class=cb><!-- 21 --><div class=border-test></div><!-- 22 --><div class=red-if-too-thick></div><!-- 23 --><div class=overlap-red-if-too-thick></div><!-- 24 --></div> 25 </body> 26 </html>