html - Applying border in combination with boxing-size -
is possible decrease border-top width? i'm using boxing-size boxes aligned. want this:
but when apply border-top div there still space between te divs border doesn't top.
any fix this?
see according image made example.
.main-container{ width:998px; height:auto; } .box{ width:200px; height:200px; border-top:2px solid #b40505; float:left; background:#fefbdf; margin:5px; }
<div class="main-container"> <div class="box"></div> <div class="box"></div> <div class="box"></div> </div>
Comments
Post a Comment