5
Content quite similar to that presented by @ How to customize the side edges of a DIV?, but this uses pseudo-elements to form markers horizontally:
.clamp-container{
position:relative;
display:inline-block;
}
.clamp-text{
margin:10px 20px;
display:inline-block;
text-transform: uppercase;
font-size:40px;
}
.clamp-text:before{
border:1px solid black;
border-bottom-width:0;
content: '';
position: absolute;
left:0px;
right:0px;
top:0px;
height:3px;
}
.clamp-text:after, .clamp-text:before{
border:1px solid black;
content: '';
position: absolute;
left:0px;
right:0px;
height:10%;
}
.clamp-text:before{
border-bottom-width:0;
top:0px;
}
.clamp-text:after{
border-top-width:0;
bottom:0px;
}
<span class='clamp-container'><span class='clamp-text'>Empresa</span></span>
You have HTML or you want a way to do it from scratch?
– Sergio
Using SVG - http://www.w3schools.com/graphics/svg_intro.asp
– MarioAleo
Possible duplicate of this? http://answall.com/questions/124251/comor-customizar-lateralborders of a div
– Bacco