I have to reproduce a mock up with a box with a top border that have a curved line in the middle.
Like this above. I can't figure out how can i do it. I think with some position and border setup. i have been trying for 2 hours but I can't.
I got some ready code on the net but I can't adapt it to my needs. Here the code:
<div id="message-holder"></div>
#message-holder {
margin-top:50px;
width:300px;
height:300px;
left: 37%;
background: #F9EDEF;
position:relative;
border:1px solid #edb2b7;
}
#message-holder:before, #message-holder:after{
content:"";
position:absolute;
top:24px;
left:110px;
border-bottom:25px solid #f9edef;
border-left:25px solid transparent;
border-right:25px solid #f9edef;
}
#message-holder:before{
top:25px;
border-bottom-color:#edb2b7;
}
This is entirely wrong!
Could someone help me ?