Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="clearfix">
- <div class="floated">float a</div>
- <div class="floated">float b</div>
- <div class="floated">float c</div>
- </div>
- <style>
- .clearfix::after {
- content: '';
- display: block;
- clear: both;
- }
- .floated {
- float: left;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement