Skip to content

Commit

Permalink
fix: backdrop-filter webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Dec 30, 2021
1 parent 468cec5 commit 887a189
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/backdrop-filter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { BACKDROP, DASH, FILTER } from './constants/css-property-keyword';
import { Style } from '@master/style';

export class BackdropFilterStyle extends Style {
static override matches = /^bd:./;
static override key = BACKDROP + DASH + FILTER;
static override matches = /^(bd|backdrop-filter):./;
override get props(): { [key: string]: any } {
return {
'backdrop-filter': this,
'-webkit-backdrop-filter': this
}
};
}

0 comments on commit 887a189

Please sign in to comment.