aboutsummaryrefslogtreecommitdiffstats
path: root/test/render/test39.htm
blob: 6e417bb70e51feeace850c3e0b25582b1a41e332 (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
<style>
	.container
	{
		display: flex;
		background-color: yellow;
		border-width: 5px;
		border-style: solid;
		border-color: darkblue;
		padding: 10px;
		margin: 10px;
	}
	.container > div
	{
		background-color: cyan;
		border-width: 5px;
		border-style: solid;
		border-color: darkcyan;
		padding: 5px;
		margin: 5px;
	}
</style>

<div class="container" style="width: 500px">
    <div style="flex: 1 1 200px">block number 1</div>
    <div style="flex: 2 1 200px">block number 2</div>
    <div style="flex: 2 3 200px">hello my dear friend</div>
</div>
<div class="container" style="width: 200px">
    <div style="flex: 1 1 200px">block number 1</div>
    <div style="flex: 2 1 200px">block number 2</div>
    <div style="flex: 2 3 200px">hello my dear friend</div>
</div>
<div class="container" style="width: 300px">
    <div style="flex: 1 1 200px">block number 1</div>
    <div style="flex: 2 1 200px">block number 2</div>
    <div style="flex: 2 3 200px">hello my dear friend</div>
</div>
<div class="container" style="width: 700px">
    <div style="flex: 1 1 200px">block number 1</div>
    <div style="flex: 2 1 200px">block number 2</div>
    <div style="flex: 2 3 200px">hello my dear friend</div>
</div>