blob: 4a5de5b560fbd3602c90d1351db247b3b5b7c92c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<!DOCTYPE html>
<title>CSS Backdrop Filters Animation: Saturate</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="match" href="backdrop-filters-saturate-ref.html">
<meta name="fuzzy" content="maxDifference=0-4; totalPixels=0-37500" />
<style>
.square {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
background: #f4fbff;
}
.filt {
backdrop-filter: saturate(2500%);
position: absolute;
width: 200px;
height: 200px;
top: 50px;
left: 50px;
}
.greenbox {
position: absolute;
width: 50px;
height: 50px;
top: 75px;
left: 75px;
background: green;
}
</style>
<p>You should see a light-blue rectangle with a green box. Neither cyan nor white.</p>
<div class="square"></div>
<div class="filt">
<div class="greenbox"></div>
</div>
|