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 :: elementor custom css for mobile 
Css :: css grid minmax function 
Css :: padding in css 
Css :: css border properties 
Css :: hide input border on focus 
Css :: font for css code google link 
Css :: bootstrap icons sdn 
Css :: kotlin string to int 
Css :: all ipad Resolutio css 
Css :: css selector every child except last 
Css :: responsive flexbox in css 
Css :: autocomplete background color css 
Css :: styles only for IE 
Css :: circle button css 
Css :: html text not wrapping 
Css :: input disabled remove css 
Css :: gradient text color css 
Css :: put an border around an text in css 
Css :: input rtl html 
Css :: what does clearfix for floats do in css 
Css :: how to highlight input on focus with box shadow 
Css :: font gap css 
Css :: font condensed 
Css :: how to make multiple borders using box shadow in css 
Css :: inline text and image 
Css :: bootstrap card hover effect 
Css :: css transform size 
Css :: css gradient 3 color 
Css :: css auto heigh div 
Css :: square with 2 colors css 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =