-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
1.html
32 lines (28 loc) · 799 Bytes
/
1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flex Container and Flex Items</title>
<style>
.container {
display: flex;
/* Create a flex container */
border: 2px solid #333;
}
.item {
background-color: #f0f0f0;
padding: 10px;
margin: 5px;
}
</style>
<link href='https://varanasisoftwarejunction.blogspot.com/favicon.ico' rel='icon' type='image/x-icon'/>
</head>
<body>
<div class="container" style="flex-direction: column;">
<div class="item">Item 1</div>
<div class="item">Item 2</div>
<div class="item">Item 3</div>
</div>
</body>
</html>