Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <div class="clearfix">
  2. <div class="floated">float a</div>
  3. <div class="floated">float b</div>
  4. <div class="floated">float c</div>
  5. </div>
  6. <style>
  7. .clearfix::after {
  8. content: '';
  9. display: block;
  10. clear: both;
  11. }
  12. .floated {
  13. float: left;
  14. }
  15. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement