blob: cfef7d0f0d16c523ebdc68e8c5be864ef04ddfe9 (
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
46
47
48
49
50
51
52
53
54
|
<!DOCTYPE html>
<html>
<script>
addEventListener('DOMContentLoaded', function(){
obj1.style.writingMode = "rl";
obj2.style.writingMode = "rl";
//obj3.style.writingMode = "rl";
//obj4.style.writingMode = "rl";
obj5.style.writingMode = "rl";
sobj1.style.writingMode = "rl";
sobj2.style.writingMode = "rl";
//sobj3.style.writingMode = "rl";
//sobj4.style.writingMode = "rl";
sobj5.style.writingMode = "rl";
});
</script>
<body style="writing-mode:tb">
<button style="display:grid">
<div id=obj1></div>
</button>
<button style="display:inline-grid">
<div id=obj2></div>
</button>
<!--
<button style="display:flex">
<div id=obj3></div>
</button>
<button style="display:inline-flex">
<div id=obj4></div>
</button>
-->
<button style="columns:2">
<div id=obj5></div>
</button>
<button style="display:grid; overflow:hidden">
<div id=sobj1></div>
</button>
<button style="display:inline-grid; overflow:hidden">
<div id=sobj2></div>
</button>
<!--
<button style="display:flex; overflow:hidden">
<div id=sobj3></div>
</button>
<button style="display:inline-flex; overflow:hidden">
<div id=sobj4></div>
</button>
-->
<button style="columns:2; overflow:hidden">
<div id=sobj5></div>
</button>
</body>
</html>
|