File: test39.htm

package info (click to toggle)
litehtml 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,928 kB
  • sloc: ansic: 31,385; cpp: 27,328; makefile: 9
file content (42 lines) | stat: -rw-r--r-- 1,215 bytes parent folder | download | duplicates (5)
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>