blob: 8e97d8b3d52bd3b599b25ba29b9f288b462e10ca [file] [log] [blame]
<!DOCTYPE html>
<title>flexbox | cleared box</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
#float {
background: #3366cc;
padding: 1em;
float: left;
}
#flex {
background: #ffcc00;
padding: 2em;
clear: both;
}
div div {
background: pink;
height: 4em;
display: inline-block;
}
</style>
<div id="float">damer</div>
<div id="flex">
<div>Yellow box should be below the blue box</div>
</div>