I would like to have a border that is 4px thick pink on the left and 1px grey elsewhere:
border: 1px solid #E5E5E5;
border-left: 4px solid #F24495;
The issue is the join is diagonal so I get a horrible overlay. I tried:
.item:before{
border-left: 4px solid #F24495;
}
But no luck.
jsFiddle Example
Screenshot

.item::beforewas the right approach, but it needs a bit of work past a singleborder-leftproperty. You’ll need to make the pseudo element visible (display: block; content: "";), position the pseudo element on the left side of.item, and stretch it to line up with the top and bottom borders properly.While this can be done manually, I highly recommend using CSS Variables (or variables in your preprocessor) since it makes updating the widths of borders less error-prone and painful.