summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/div-auto-margin-bottom-ref.html
blob: a61439da556810d11005c6e98ae575ac429cf118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<title> Ensure bottom takes effect after element is centered </title>
<style>
  div {
    inset: 0;
    background-color: black;
    margin: auto;
    position: absolute;
    block-size: 200px;
    inline-size: 100px;
    bottom: 10px;
    border: 5px solid red;
  }
</style>
<div></div>