clearfix.module.css
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/css/system/components/clearfix.module.css
- 9 core/themes/stable/css/system/components/clearfix.module.css
- 9 core/modules/system/css/components/clearfix.module.css
- 8.9.x core/themes/stable/css/system/components/clearfix.module.css
- 8.9.x core/modules/system/css/components/clearfix.module.css
- 10 core/themes/stable9/css/system/components/clearfix.module.css
- 10 core/modules/system/css/components/clearfix.module.css
Float clearing.
Based on the micro clearfix hack by Nicolas Gallagher, with the :before pseudo selector removed to allow normal top margin collapse.
See also
http://nicolasgallagher.com/micro-clearfix-hack
File
-
core/
modules/ system/ css/ components/ clearfix.module.css
View source
- /**
- * @file
- * Float clearing.
- *
- * Based on the micro clearfix hack by Nicolas Gallagher, with the :before
- * pseudo selector removed to allow normal top margin collapse.
- *
- * @see http://nicolasgallagher.com/micro-clearfix-hack
- */
-
- .clearfix::after {
- display: table;
- clear: both;
- content: "";
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.