Is there a way to fake a foreground-image analagous to a background-image in CSS? Instead of existing behind other elements in a div, it would obscure everything inside the element.
Is there a way to fake a foreground-image analagous to a background-image in CSS?
Share
Use a pseudo-element (
::beforewon’t work in IE≤7):See also: