blob: b518c3963194c8567128d2461c71fac608f36ae8 (
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
|
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.flex-container {
display: flex;
}
.flex-container.vertical-rl {
writing-mode: vertical-rl;
}
.flex-container.sideways-lr {
writing-mode: sideways-lr;
}
.column {
flex-direction: column;
}
.item {
min-width: 300px;
min-height: 300px;
}
</style>
<div class="flex-container vertical-rl">
<span class="row vertical-rl item">Vertical-tb Row content</span>
</div>
<div class="flex-container column">
<span class="column vertical-tb item">Vertical-tb Column Content</span>
</div>
<div class="flex-container sideways-lr">
<span class="row vertical-bt item">Vertical-bt Row Content</span>
</div>
<div class="flex-container vertical-rl column">
<span class="column horizontal-rl item">Horizontal-rl Column Content</span>
</div>
<div class="flex-container">
<span class="row horizontal-lr item">Horizontal-lr Row Content</span>
</div>
|