Answers for "clearfix css"

CSS
5

clearfix css

.clearfix {
  content: "";
  clear: both;
  display: table;
}
Posted by: Guest on February-10-2021
2

clearfix css

.clearfix:after {
clear: both;
content: " ";
display: block;
font-size: 0;
height: 0;
visibility: hidden;
}
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language