I am looking to design a box with different colors - red on the left, right, and top, and grey at the bottom. However, I want the bottom border of the box to be flat.
HTML
<div class="ts"></div>
CSS
.ts {
height:100px;
width:100px;
border-width:10px 10px 20px 10px;
border-style:solid;
border-color:#f00 #f00 #ddd #f00;
}
When I use the above code, it appears like this:
However, I do not want the bottom border to have a diagonal corner. I would like it to be flat instead;
Is there a simple way to achieve this that works across different browsers?