HTML CSS examples for CSS Property:border-bottom
Use bottom border to cover border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .block {<!--from ww w . j a v a2 s. com--> width: 150px; height: 150px; display: block; background-color: red; border: 5px solid #000000; border-bottom-width: 5px !important; border-bottom-color: white; } </style> </head> <body> <div class="block"></div> </body> </html>