Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: counter style extending disclosure-open (horizontal-tb)</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
@counter-style open-ext { system: extends disclosure-open; }
.cell {
width: 160px; height: 160px;
display: flex; align-items: center; justify-content: center;
font: 100px/1 Ahem;
}
.m::before { content: counter(x, open-ext); }
</style>
<div class="cell"><span class="m" style="writing-mode: horizontal-tb; direction: ltr"></span></div>