blob: f351fc66b335623f5571f6b4b64aae6194e0749a (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0
-->
<html>
<head>
<title>CSS Test: Testing for full height flex container in a button.</title>
<meta charset="utf-8">
<style>
button {
vertical-align: top;
padding: 0;
border: solid 1px black;
background: lightblue;
width: 200px;
height: 200px;
}
.flex {
display: inline-flex;
justify-content: space-between;
align-items: stretch;
}
.flex > * {
margin: 1px;
background: teal;
min-height: 10px;
min-width: 10px;
}
.vertical {
flex-direction: column;
}
</style>
</head>
<body>
<button class="flex">
<div></div>
<div></div>
<div></div>
</button>
<button class="flex vertical">
<div></div>
<div></div>
<div></div>
</button>
</body>
</html>
|