blob: 6b2705fd94f6266e8acb7762c7acbb5fdd250f0b (
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
|
<!DOCTYPE html>
<title>flexbox | visibility: collapse</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help"
href="http://www.w3.org/TR/css-flexbox-1/#visibility-collapse">
<link rel="match" href="flexbox_visibility-collapse-ref.html">
<style>
body {
margin: 0;
}
div {
background: #3366cc;
border: 1px solid black;
display: flex;
}
p {
background: #ffcc00;
margin: 2em;
}
#test {
background: red;
visibility: collapse;
}
</style>
<div>
<p>filler</p>
<p id="test">FAIL</p>
<p>filler</p>
</div>
|