Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Clearfix

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}
Comment

clearfix

.clearfix {
  overflow: auto;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to space out buttons css 
Css :: changer angle div 
Css :: css calc vw minus px 
Css :: center background image css 
Css :: zero two hair color code 
Css :: scss maps´ 
Css :: css tricks stretch content full witdh 
Css :: refresh css on page 
Css :: css pointer-events 
Css :: how to change link color hover button text 
Css :: flex box writing sideways text top to bottom 
Css :: how to make the select box font size small in css 
Css :: sass table 
Css :: css ordened list style color 
Css :: grid-column css 
Css :: how to modify select icon csshow to modify select icon css 
Css :: add border to png image using css 
Css :: jquery css unset(remove) certain style 
Css :: bootstrap z-index 
Css :: webpack animate.css 
Css :: npm ERR! 404 Not Found - GET https://registry.npmjs.org/taiwindcss - Not found 
Css :: nav bar without display:flex 
Css :: dropdown size based on text 
Css :: bootstrap database table cdn 
Css :: translate in 3d css 
Css :: div style how to wrap around 
Css :: how to color links 
Css :: position absolute and relative css 
Css :: button active css 
Css :: css symbol 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =