Sha256: b87cec01ffac24301243887860ae447f03b8db76f24f94aa4ba589be852c6f35

Contents?: true

Size: 622 Bytes

Versions: 5

Compression:

Stored size: 622 Bytes

Contents

/* ==========================================================================
   Clearfix Mixin
   ========================================================================== */

/*
  * Provides an easy way to include a clearfix for containing floats.
  * link http://cssmojo.com/latest_new_clearfix_so_far/
  *
  * example scss - Usage
  *
  * .element {
  *   @include clearfix;
  * }
  *
  * example css - CSS Output
  *
  * .element::after {
  *   clear: both;
  *   content: "";
  *   display: table;
  * }
*/

@mixin clearfix {
  clear: both;

  &::after {
    clear: both;
    content: "";
    display: table;
  }
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jekyll-theme-so-simple-libre-4.0.0 _sass/so-simple/mixins/_clearfix.scss
jekyll-theme-so-simple-3.2.0 _sass/so-simple/mixins/_clearfix.scss
jekyll-theme-so-simple-3.1.3 _sass/so-simple/mixins/_clearfix.scss
jekyll-theme-so-simple-3.1.2 _sass/so-simple/mixins/_clearfix.scss
jekyll-theme-so-simple-3.1.1 _sass/so-simple/mixins/_clearfix.scss