Skip to content

Instantly share code, notes, and snippets.

@mohitesachin217
Last active June 13, 2016 11:10
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 mohitesachin217/9f17b48daa731da0495b3973371e4e90 to your computer and use it in GitHub Desktop.
Save mohitesachin217/9f17b48daa731da0495b3973371e4e90 to your computer and use it in GitHub Desktop.
#clearfix{
content: ".";
visibility: hidden;
display: block;
height: 23px;
clear:both;
}
@mohitesachin217
Copy link
Author

it will clear the float: property of the div ... and will make parent div height according to the inner divs just add the

after the last float div

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment