Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexbox_item-float.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | floated item</title>
<link rel="help"
<link rel="match" href="flexbox_item-float-ref.html">
<style>
body>div {
background: black;
margin: 1em;
display: flex;
}
div div {
background: #3366cc;
margin: 2em;
width: 2em;
height: 2em;
float: right;
}
</style>
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>