mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
31 lines
651 B
HTML
31 lines
651 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>margin-trim: flex-block-end-trimmed-only</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="block-end should trim only margin block end of flex items">
|
|
<style>
|
|
flexbox {
|
|
display: flex;
|
|
width: min-content;
|
|
border: 1px black solid;
|
|
}
|
|
item {
|
|
display: block;
|
|
background-color: green;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-inline: 10px;
|
|
margin-block-start: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<flexbox>
|
|
<item></item>
|
|
<item></item>
|
|
<item></item>
|
|
</flexbox>
|
|
</body>
|
|
</html>
|