Skip to content

Instantly share code, notes, and snippets.

@kunigami
Last active January 20, 2018 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/6dfdc70a4aba5464c0fac82a38937958 to your computer and use it in GitHub Desktop.
Save kunigami/6dfdc70a4aba5464c0fac82a38937958 to your computer and use it in GitHub Desktop.
<div style="width: 200px; background-color: green">
<div class="red" style="clear:left">Clear left</div>
<div class="blue" style="float: left">Left</div>
<div class="yellow" style="float: right">Right</div>
<div class="blue" style="float: left">Left</div>
<div class="red" style="clear:right">Clear right</div>
<div class="yellow" style="float: right">Right</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment