1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

LibWeb: Respect justify-self property of grid items

This commit is contained in:
Aliaksandr Kalenik 2023-07-14 14:49:51 +02:00 committed by Andreas Kling
parent fedbb39e9e
commit e4e1208050
3 changed files with 70 additions and 7 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<style>
* {
border: 1px solid black;
}
body {
display: grid;
grid-template-columns: 1fr;
}
</style>
<body>
<div style="justify-self: start">Start</div>
<div style="justify-self: center">Center</div>
<div style="justify-self: end">End</div>
</body>