blob: 53ea4ab59200c8d0917ffc92c3f76b1d3183ffbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.outer {
padding: 2px;
border: 1px solid black;
background: #ddd;
width: 200px;
}
.inner {
width: 50px;
height: 50px;
background: yellow;
}
.foo {
writing-mode: vertical-lr;
margin-left: 100px;
margin-right: 50px;
margin-top: 20px;
margin-bottom: 5px;
}
.bar {
writing-mode: vertical-lr;
margin-left: 50px;
margin-right: 100px;
margin-top: 5px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner foo">
</div>
<hr>
<div class="inner bar">
</div>
</div>
</body>
</html>
|