1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 12:25:07 +00:00
serenity/Tests/LibWeb/Layout/input/flex/flex-row-reverse-with-centered-content.html
Emil Militzer 8200d1f68b LibWeb: Initial offset in reverse flex layout moved to opposite side
This change moves the initial offset for justify-content: center to the
opposite side if the flex layout is in the reverse direction.
2023-05-09 10:32:09 +02:00

11 lines
No EOL
366 B
HTML

<!doctype html><style>
.flex {
display: flex;
flex-direction: row-reverse;
justify-content: center;
}
.flex > div {
width: 50px;
height: 50px;
}</style><body><div class="flex"><div style="background-color: red;">1</div><div style="background-color: blue;">2</div><div style="background-color: yellow;">3</div>