-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Description
I’m proposing a property: background-filter. It allows the application of filters to background layers, parallel to the way background-blend-mode applies blending modes.
As an example:
body {
background-image: url(waves.png),url(waves.png),url(horizon.jpg);
background-position: center, 0 50%, 50% 100%;
background-repeat: repeat-x;
background-filter: none, blur(0.2px) opacity(0.8), blur(1px);
}
Unless browsers would like to just implement https://www.w3.org/TR/filter-effects-1/#FilterCSSImageValue, of course. That would address the need, but much more generally. (Thanks to Dan Wilson for the pointer!)
SebastianZ, hftf and BenjaminAsterjohannesodland