Search
 
SCRIPT & CODE EXAMPLE
 

CSS

clearfix css

.clearfix {
  content: "";
  clear: both;
  display: table;
}
Comment

css clearfix

/* add this class in a parent tag */
/* as of today, avoid using float layout better of use flexbox and grid */
/* but if you still use float layout restrict use this mechanism with
picture text blog like design */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
Comment

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; }
Comment

PREVIOUS NEXT
Code Example
Css :: how to add shadow in css 
Css :: css responsive font size 
Css :: verticle line css 
Css :: css border opacity 
Css :: css change width animation 
Css :: css remove scrollbars 
Css :: css p tag text wrap 
Css :: center a div 
Css :: grab cursor css 
Css :: how to remove default look of button 
Css :: css change color 
Css :: bodyparser limit 
Css :: resize image slowly on hover 
Css :: css tr border radius 
Css :: img position css 
Css :: Hide Google Recaptcha V3 | how to hide the reCaptcha v3 badge 
Css :: navigation bar stays on top 
Css :: select html stop blue border 
Css :: onclick change visibility 
Css :: large input box bootstrap 4 
Css :: center div inside div flex 
Css :: css fit iframe to div 
Css :: comfirm before delete 
Css :: padding bottom 
Css :: using float item got out of parent flow how to fix 
Css :: html list over three columns 
Css :: css remove outline 
Css :: is better use px or pt 
Css :: center a spinner css 
Css :: scrollbar not working 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =