Files
rust_browser/tests/goldens/fixtures/063-flex-justify.html
Zachary D. Rowitsch 2bf8ce6de8 Phase 3: Initial commit
2026-01-31 16:20:53 -05:00

37 lines
794 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
display: flex;
flex-direction: row;
width: 300px;
height: 40px;
background-color: lightgray;
margin-bottom: 10px;
}
.center {
justify-content: center;
}
.space-between {
justify-content: space-between;
}
.item {
width: 50px;
height: 30px;
background-color: red;
}
</style>
</head>
<body>
<div class="container center">
<div class="item">A</div>
<div class="item">B</div>
</div>
<div class="container space-between">
<div class="item">X</div>
<div class="item">Y</div>
</div>
</body>
</html>