Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing 'backdrop-filter' #161

Open
braebo opened this issue Aug 11, 2022 · 1 comment
Open

missing 'backdrop-filter' #161

braebo opened this issue Aug 11, 2022 · 1 comment

Comments

@braebo
Copy link

braebo commented Aug 11, 2022

I noticed that both -webkit-backdrop-filter and backdrop-filter give me an error saying they're missing. Is this intentional?

@frenic
Copy link
Owner

frenic commented Sep 13, 2022

No, they have existed for quite a while.

csstype/index.d.ts

Lines 290 to 303 in 8746e82

/**
* The **`backdrop-filter`** CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything _behind_ the element, to see the effect you must make the element or its background at least partially transparent.
*
* **Syntax**: `none | <filter-function-list>`
*
* **Initial value**: `none`
*
* | Chrome | Firefox | Safari | Edge | IE |
* | :----: | :-----: | :---------: | :----: | :-: |
* | **76** | n/a | **9** _-x-_ | **17** | No |
*
* @see https://developer.mozilla.org/docs/Web/CSS/backdrop-filter
*/
backdropFilter?: Property.BackdropFilter | undefined;

csstype/index.d.ts

Lines 6846 to 6853 in 8746e82

/**
* The **`backdrop-filter`** CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything _behind_ the element, to see the effect you must make the element or its background at least partially transparent.
*
* **Syntax**: `none | <filter-function-list>`
*
* **Initial value**: `none`
*/
WebkitBackdropFilter?: Property.BackdropFilter | undefined;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants