blob: ddf7f7efdc6e49ccb82ce7c19fc0a47f805c74a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>flexbox | object fallback as a flex item</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-justify-content" rel="help" />
<link href="reference/flexbox_object-ref.xht" rel="match" />
<style>
div {
background: #ffcc00;
justify-content: space-around;
display: flex;
}
div>* {
background: #3366cc;
margin: 0;
}
</style>
</head><body><div>
<object>this is supposed to be a flex item</object>
<p>this is supposed to be a flex item</p>
</div>
</body></html>
|