HTML CSS examples for CSS Property:border-width
set border's thickness in percentages
<html> <head> <meta name="viewport" content="width=device-width"> <title>Border percentage vw by robocat</title> <style> html, body { margin: 0; padding: 0; } .bordered {<!--from ww w .j a va 2s . c o m--> border: 5vw solid red; } </style> </head> <body> <h3>Border percentage vw by robocat</h3> <div class="bordered"> test </div> </body> </html>