-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexbox.html
37 lines (36 loc) · 1.51 KB
/
flexbox.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Flexbox</title>
<style>
#container {
display: flex;
flex-wrap: wrap;
}
#container > div {
background-color: darkslateblue;
font-size: 20px;
margin: 20px;
padding: 20px;
width: 200px;
}
</style>
</head>
<body>
<div id="container">
<div>1.this is some sample text inside of a div to demo Flexbox</div>
<div>2.this is some sample text inside of a div to demo Flexbox</div>
<div>3.this is some sample text inside of a div to demo Flexbox</div>
<div>4.this is some sample text inside of a div to demo Flexbox</div>
<div>5.this is some sample text inside of a div to demo Flexbox</div>
<div>6.this is some sample text inside of a div to demo Flexbox</div>
<div>7.this is some sample text inside of a div to demo Flexbox</div>
<div>8.this is some sample text inside of a div to demo Flexbox</div>
<div>9.this is some sample text inside of a div to demo Flexbox</div>
<div>10.this is some sample text inside of a div to demo Flexbox</div>
<div>11.this is some sample text inside of a div to demo Flexbox</div>
<div>12.this is some sample text inside of a div to demo Flexbox</div>
</div>
</body>
</html>