Reputation: 1183
As You can see in this image I applied the border-radius property to a div and now it cuts off the corners on the border property. What's the best way to fix this?
.store1,.store2,.store3,.store4,.store5 {
width: 160px;
padding: 5px;
margin: 5px 0 10px 0;
border: 4px solid #FFFFFF;
height: 70px;
overflow: hidden;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background: #FFFFFF;
display: inline-block;
font-style: none;
color: #000000;
font-style: normal;
text-align: center;
}
Upvotes: 2
Views: 6482
Reputation: 6356
You need to set the top, left, and right borders to 0 instead of just setting it the same color as your background. Then, your bottom border will run all the way to the edge.
Upvotes: 1