summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-values/support/mixed-units-03.html
blob: 3d614d395ac3e3a0a134475c1da66e2779918b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
  <head>
    <style>
      body {
        margin: 0;
        font-size: 16px;
      }
      .box {
        background: rgb(0, 0, 255);
        width: 100%;
        height: 10px;
      }

      @media (height: calc(100vw - 5.625em)) {
        .box {
          background: rgb(255, 165, 0);
        }
      }
    </style>
  </head>
  <div class="box"></div>
</html>