I'm trying to achieve the following effect for my headings: https://i.stack.imgur.com/mIx7q.jpg
So that the background is red, then the right hand side image is attached with rounded edges and a transparent background.
Currently, the red background is filling the whole area, so that the rounded image on the right doesn't have a transparent background, the corners are red.
This is the CSS that I currently have:
.tabbed-heading{
background-color: #ef4857;
padding: 8px 0px 8px 10px;
background-image: url('images/headertabright.png');
background-position: right;
background-repeat: no-repeat;
color: #fff;
max-width: 60%;
}
-
<h4 class="tabbed-heading">Lineup</h4>
Any help would be greatly appreciated, thanks.