<!DOCTYPE html>
<title>View transitions: shared element writing-modes (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:[email protected]">
<style>
.tb { writing-mode: horizontal-tb; }
.lr { writing-mode: vertical-lr; }
.rl { writing-mode: vertical-rl; }
.shared {
margin: 2px;
width: 100px;
height: 50px;
background: green;
contain: paint;
border: 1px solid black;
}
html { background: lightpink; }
</style>
<div id=one class="tb shared">T</div>
<div id=two class="lr shared">T</div>
<div id=three class="rl shared">T</div>