Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<title>View transitions: writing mode on a container (ref)</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
#target {
background: lightblue;
height: 100%;
aspect-ratio: 1 / 1;
}
#container {
width: 100px;
height: 50px;
border: 1px solid black;
}
body {
writing-mode: vertical-lr;
background: pink;
}
</style>
<div id=container><div id=target></div></div>