1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibWeb: Support auto vertical margins for grid items

This commit is contained in:
Aliaksandr Kalenik 2023-07-21 19:29:21 +02:00 committed by Andreas Kling
parent 9f06e130a2
commit fd9b3bdc94
3 changed files with 53 additions and 9 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<style>
* {
border: 1px solid black;
}
.container {
display: grid;
width: 500px;
height: 500px;
}
.item {
margin: auto;
}
</style>
<div class="container"><div class="item">item</div></div>