blob: 2eb5ae410aa96a674e50a0c63d697a0ceae40773 [file] [log] [blame]
<!DOCTYPE html>
<html>
<link href="resources/grid.css" rel="stylesheet">
<style>
.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="block">
<div class="item">X</div>
</div>
<div class="block verticalRL">
<div class="item">X</div>
</div>
<div class="block verticalLR">
<div class="item">X</div>
</div>
<div class="block directionRTL">
<div class="item">X</div>
</div>
<div class="block directionRTL verticalRL">
<div class="item">X</div>
</div>
<div class="block directionRTL verticalLR">
<div class="item">X</div>
</div>
</body>
</body>
</html>