Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.grid {
display: grid;
grid-template-columns: repeat(3, 50px);
grid-template-rows: min-content;
width: 200px;
margin-bottom: 20px;
align-items: baseline;
background: lightgray;
font-family: Ahem;
line-height: 1;
text-orientation: sideways;
}
.item-htb {
writing-mode: horizontal-tb;
font-size: 20px;
padding-top: 15px;
width: 50px;
background: lightsalmon;
}
.item-vrl {
writing-mode: vertical-rl;
font-size: 20px;
padding-right: 15px;
height: 50px;
background: palegreen;
}
.item-vlr {
writing-mode: vertical-lr;
font-size: 20px;
padding-left: 15px;
height: 50px;
background: powderblue;
}
</style>
</head>
<body>
<div class="grid" style="writing-mode: sideways-lr; width: auto;">
<div class="item-htb" style="writing-mode:sideways-rl;">É</div>
<div class="item-vrl">É</div>
<div class="item-vlr">É</div>
</div>
<div class="grid" style="writing-mode: vertical-rl; height: 200px; width: auto;">
<div class="item-htb">É</div>
<div class="item-vrl">É</div>
<div class="item-vlr" style="align-self: last baseline;">É</div>
</div>
</body>
</html>