summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/fit-content-block-size-fixedpos-ref.html
blob: 0f9f8bd1b0352ea66763232f3a093eb569ca9511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<style>
#container {
  height: 90vh;
  position: fixed;
  top: 50%;
  background-color: gold;
  margin: auto;
  bottom: 0;
}
</style>
<div id="container">
  <div style="height:90vh;width:50px;outline: 2px dotted red;"></div>
</div>