Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>flexbox | object fallback as a flex item</title>
<style>
div {
background: #ffcc00;
justify-content: space-around;
display: flex;
}
div>* {
background: #3366cc;
margin: 0;
}
.clip {
overflow: clip;
}
</style>
<div>
<p class="clip">this is supposed to be a flex item</p>
<p>this is supposed to be a flex item</p>
</div>