blob: afe8ef4382e5e400e1b4d3d7d23936eb073d3366 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
.flexbox {
border: 1px solid black;
width: 400px;
height: 200px;
}
.item1 {
background: lightblue;
}
.item2 {
background: lime;
}
</style>
</head>
<body>
<div class="flexbox column">
<div class="item1 align-self-center">centeredWithMargins</div>
<div class="item2 align-self-center">centeredWithAlignSelf</div>
</div>
<div style="writing-mode: vertical-lr;">
<div class="flexbox column">
<div class="item1 align-self-center">centeredWithMargins</div>
<div class="item2 align-self-center">centeredWithAlignSelf</div>
</div>
</div>
</body>
</html>