<!DOCTYPE html> | |
<html> | |
<title>View transitions: writing mode on a container (ref)</title> | |
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> | |
<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> |