Witam
Mam problem poradziłem sobie z lewym i prawym ale nie wiem jak zrobić środek jak na zdjęciu. Proszę was o pomoc.
(IMG:
http://www.iv.pl/images/72322825088484605783.png)
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> body{
text-align: center;
}
h3{
font-size: 60px;
position: relative;
display: inline-block;
padding: 10px 30px 8px 30px;
height: 80px;
width: auto;
background: #000;
line-height: 80px;
margin-bottom: 20px;
font-family: 'Bitter', 'Trebuchet MS', Arial;
text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
color: white;
}
h3::before{
content: '';
width: 0;
height: 0;
border-top: 38px solid transparent;
border-bottom: 60px solid transparent;
border-right: 60px solid black;
position: absolute;
left: -59px;
top: 0px;
background: red;
}
h3::after{
content: '';
width: 0;
height: 0;
border-top: 38px solid transparent;
border-bottom: 60px solid transparent;
border-left: 60px solid black;
position: absolute;
right: -59px;
top: 0px;
background: red;
}