I need to build a message holder with a tip in the form of triangle with border. I've managed to build the tip using two triangles:
#triangle-border {
width: 0px;
height: 0px;
border-style: solid;
border-width: 0 100px 80px 100px;
border-color: transparent transparent #edb2b7 transparent;
}
#triangle-content {
position:absolute;
top: 20px;
width: 0px;
height: 0px;
border-style: solid;
border-width: 0 100px 80px 100px;
border-color: transparent transparent #F9EDEF transparent;
}
I believe it can be done with one HTML object, I just can't figure out how. Can you please help?
I've added the example of the message container that I'm trying to build
