Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>text-orientation test</title>
<style>
:root {
writing-mode: vertical-rl;
}
.s {
text-orientation: sideways;
}
.bugfix {
column-count: 1;
}
</style>
</head>
<body>
<div>
<p>縦タテvertical<span class="s">横ヨコsideways</span>縦タテvertical。</p>
</div>
<div class="bugfix">
<p>縦タテvertical<span class="s">横ヨコsideways</span>縦タテvertical。</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment