HTML CSS examples for CSS Property:border-style
create double borders through CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div{<!--from w w w .j a v a 2 s.c om--> padding:20px; border: 1px solid black; } .container{ display:inline-block; width: 70px; } .childdiv{ display:inline-block; width: 30px; } </style> </head> <body> <div class="container"> <div class="childdiv"> </div> </div> <div class="container"> <div class="childdiv"> </div> </div> <div class="container"> <div class="childdiv"> </div> </div> <div class="container"> <div class="childdiv"> </div> </div> </body> </html>