mirror of
https://github.com/servo/servo.git
synced 2025-06-26 01:54:33 +01:00
33 lines
748 B
HTML
33 lines
748 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>margin-trim: flex-column-inline-multiline</title>
|
|
<link rel="author" href="mailto:sammy.gill@apple.com">
|
|
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex">
|
|
<meta name="assert" content="inline-start should be trimmed for all items on the first flex line and inline-end should be trimmed for all items on the last flex line">
|
|
<style>
|
|
flexbox {
|
|
display: flex;
|
|
width: min-content;
|
|
height: 100px;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
gap: 0px 30px;
|
|
}
|
|
item {
|
|
display: block;
|
|
background-color: green;
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<flexbox>
|
|
<item></item>
|
|
<item></item>
|
|
<item></item>
|
|
<item></item>
|
|
</flexbox>
|
|
</body>
|
|
</html>
|