Skip to content

Instantly share code, notes, and snippets.

@MurakamiShinyu
Created October 22, 2021 10:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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