x
1
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<style>
6
.flex-container {
7
display: flex;
8
display: flex;
9
width: 400px;
10
height: 250px;
11
background-color: lightgrey;
12
}
13
14
.flex-item {
15
background-color: cornflowerblue;
16
margin: 10px;
17
}
18
19
.item1 {
20
flex: 2;
21
flex: 2;
22
}
23
24
.item2 {