blob: b7f98973e38a8c7f9412e04775282e1b197e55e6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
grid-template-columns: 80px;
}
.block {
background-color: grey;
width: 80px;
height: 80px;
position: relative;
padding: 4px 8px 12px 16px;
margin-bottom: 4px;
}
.item {
font: 15px/1 Ahem;
background-color: green;
grid-column: 1 / 2;
grid-row: 1 / 2;
width: 40px;
height: 20px;
}
</style>
<body>
<div class="grid block">
<div class="item">X</div>
</div>
<div class="grid block verticalRL">
<div class="item">X</div>
</div>
<div class="grid block verticalLR">
<div class="item">X</div>
</div>
<div class="grid block directionRTL">
<div class="item">X</div>
</div>
<div class="grid block directionRTL verticalRL">
<div class="item">X</div>
</div>
<div class="grid block directionRTL verticalLR">
<div class="item">X</div>
</div>
</body>
</body>
</html>