blob: b3e7dc27c822c4f56dd9a2d835f8e7773f8aaa0f (
plain)
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
|
<html>
<head>
<style>
body {
margin: 0;
}
#container {
display: flex;
flex-direction: column;
border: 10px solid lime;
width: 80px;
height: 80px;
background-color: red;
}
#item {
background-color: lime;
min-height: 0;
width: 80px;
height: auto;
line-height: 80px;
}
</style>
</head>
<body>
<div id="container">
<div id="item"> </div>
</div>
</body>
</html>
|