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

32 lines
638 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
display: flex;
flex-direction: row;
width: 300px;
background-color: lightgray;
}
.item {
height: 30px;
background-color: red;
}
.grow-1 {
flex-grow: 1;
}
.grow-2 {
flex-grow: 2;
background-color: green;
}
</style>
</head>
<body>
<div class="container">
<div class="item grow-1">A</div>
<div class="item grow-2">B</div>
<div class="item grow-1">C</div>
</div>
</body>
</html>