While it may require some creative thinking or additional elements, I'm curious to find out if there's a solution.
My dilemma involves an image that is divided diagonally into two sections: one solid color on top and the other transparent at the bottom. When I use the code provided, the background color fills in the transparency of the image. Is there a way to position the color differently so that it doesn't show through the image area, but instead only fills the remaining part of the element?
#content:before {
position: absolute;
z-index: -1;
bottom: -35px;
content: "";
width: 35px;
height: 465px;
left: -35px;
background: #121314 url(library/images/content-fold-left.png) 0 bottom no-repeat;
}