1 2 3
<div style="display: flow-root; width: 3ch"> <div style="float: right">float</div> <pre style="width: 6ch; display: flow-root; background: red">test</pre>