diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/reference/grid-container-auto-margins-scrollbars-001-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-grid/reference/grid-container-auto-margins-scrollbars-001-ref.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/reference/grid-container-auto-margins-scrollbars-001-ref.html b/testing/web-platform/tests/css/css-grid/reference/grid-container-auto-margins-scrollbars-001-ref.html new file mode 100644 index 0000000000..9ce866acef --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/reference/grid-container-auto-margins-scrollbars-001-ref.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<style> +body { + position: relative; + height: 100vh; +} +.item1 { + width: fit-content; + margin: 0px auto; +} +.item2 { + position: absolute; + bottom: 0; + background-color: cyan; + height: 50px; + width: 100%; +} +</style> +<div class="item1">item1</div> +<div class="item2">item2</div> |