CSS: à quoi sert clearfix Example

By

CSS Example: This is the "à quoi sert clearfix" Example. compiled from many sources on the internet by SimpleTutorials.org

à quoi sert clearfix

#conteneur {
  zoom: 1; /* "hasLayout", empêche le dépassement
              des flottants dans IE 6-7 */
}
#conteneur:after {
  content: "";
  display: table;
  clear: both;
}



* Summary: This "à quoi sert clearfix" CSS Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others