summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/css-filters-animation-opacity-ref.html
blob: 439e8a02cc15d7e76770320a52ef5690f1790a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
    <title>CSS Filters Animation: Opacity Reference</title>
    <link rel="author" title="Gunther Brunner" href="mailto:takeshimiya@gmail.com">
    <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
    <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
    <style type="text/css">
        .square {
            width: 100px;
            height: 100px;
            background: black;
            filter: opacity(50%);
        }
    </style>
</head>
<body>
<p>You should see a gray rectangle. Neither black nor white.</p>
<div class="square"></div>
</body>
</html>