3
Use CSS gradients:
div {
background: orange; /* fallback */
background:
-moz-linear-gradient(225deg, transparent 10px, orange 10px),
-moz-linear-gradient(315deg, transparent 10px, orange 10px);
background:
-o-linear-gradient(225deg, transparent 10px, orange 10px),
-o-linear-gradient(315deg, transparent 10px, orange 10px);
background:
-webkit-linear-gradient(225deg, transparent 10px, orange 10px),
-webkit-linear-gradient(315deg, transparent 10px, orange 10px);
}
div {
background-position: top right, top left;
-moz-background-size: 50% 50%;
-webkit-background-size: 50% 50%;
background-size: 50% 50%;
background-repeat: no-repeat;
}
div {
float:left;
margin:15px auto;
padding:15px;
color: white;
line-height:1.5;
height:200px;
}
<div style='width:95%'>Div 1</div>
Source:
Something like that would serve ? http://www.w3schools.com/css/css3_borders.asp
– PauloHDSousa
But it’s not round, it’s square. It doesn’t have a
border-square
?– Diego Souza
I found some similar, but nothing like how you want https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
– PauloHDSousa
Have you tried creating an element for each tip and rotating a few degrees?
– RFL