Skip to content

Instantly share code, notes, and snippets.

@MurakamiShinyu
Created October 22, 2021 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MurakamiShinyu/1dd38d2784f7efd52f6b6d66933f74d0 to your computer and use it in GitHub Desktop.
Save MurakamiShinyu/1dd38d2784f7efd52f6b6d66933f74d0 to your computer and use it in GitHub Desktop.
<!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