Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
}
 
PREVIOUS NEXT
Tagged: #css #clearfix
ADD COMMENT
Topic
Name
6+2 =