Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>flexbox | flexcontainer vs generated content</title>
<style>
div {
background: #3366cc;
height: 4em;
}
div::after, p {
content: "xxx";
background: yellow;
margin: 1em;
width: 200px;
height: 2em;
float: left;
}
div::after {
content: "yyy";
display: block;
}
</style>
<div>
<p>FAIL</p>
</div>