Skip to content

CSS filter() function #1160

@nt1m

Description

@nt1m

Description

background-image: filter(url(), blur(5px))

The filter() function takes an image and a filter, and returns a new image. This can be useful if you want to reduce the number of elements you use on your page.

Specification

https://drafts.fxtf.org/filter-effects/#FilterCSSImageValue

web-feature

No response

Test Links

https://wpt.fyi/results/css/filter-effects/filter-function?label=experimental&label=master&aligned

Additional Signals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions