I would like to create complex arrow-like shape with CSS like this image:
This is the current code:
.camera_caption {
position: relative;
background-color: greenyellow;
left: 0;
margin-top: 263px;
width: 717px;
/*height: 234px;*/
padding-left: 365px;
font: normal 14px/24px 'Roboto';
color: #fff;
}
.camera_caption:after {
content: "";
background: url(../images/capture_bg2.png) 0 0 no-repeat;
position: absolute;
height: 234px;
width: 119px;
right: -119px;
top: 0;
}
The code is working but I have dynamic content insight the layer camera_caption which is dynamically changing based on content.
I need to also change the right side of the shape based on the size.
How I can implement the same result but with pure CSS?