I'm right now trying to create a web page that has some text appearing over some images. I have a few <span>
elements that have a background with an alpha channel. I'm having an issue when the the <span>
goes multi-line. I'd like for the transparency to be the same and not blend like this:
My CSS for the <span>
is this:
.title {
background: rgba(137, 39, 162, 0.85);
padding: 6px;
}
How can I do that? I know I could adjust the line height, but I'd prefer not to. I'd like to only fix the alpha blending.