summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-values/support/mixed-units-05.html
blob: e6196d3e31f5e986b28c98ddfe54978c3940b7e4 (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 (width: calc(900vh + 10px)) {
        .box {
          background: rgb(255, 165, 0);
        }
      }
    </style>
  </head>
  <div class="box"></div>
</html>