-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflex.html
36 lines (35 loc) · 1.04 KB
/
flex.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
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.cilk{
background-color: red;
display:flex;
}
.c1{
background-color: yellow;
padding: 30px;
margin: 10px;
font-size: 30px;
height: 300px;
}
</style>
</head>
<body>
<div class="cilk">
<div class="c1" style="flex-basis:50px;">1</div>
<div class="c1" style="flex-grow:1;">2</div>
<div class="c1" style="flex-grow:2;">3</div>
<div class="c1" style="flex-shrink:5px ;">4</div>
<div class="c1">5</div>
<div class="c1" style="align-self:flex-start ;">6</div>
<div class="c1" style="align-self:flex-end ;">7</div>
<div class="c1" style="align-self:auto ;">8</div>
<div class="c1" style="align-self:center ;">9</div>
<div class="c1" style="align-self:stretch;">10</div>
<div class="c1" style="align-self:baseline;">11</div>
</div>
</body>
</html>