cv-website

Personal website and CV
git clone https://git.in0rdr.ch/cv-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_clearfix.scss (456B)


      1 @charset "UTF-8";
      2 
      3 /// Provides an easy way to include a clearfix for containing floats.
      4 ///
      5 /// @link http://cssmojo.com/latest_new_clearfix_so_far/
      6 ///
      7 /// @example scss - Usage
      8 ///   .element {
      9 ///     @include clearfix;
     10 ///   }
     11 ///
     12 /// @example css - CSS Output
     13 ///   .element::after {
     14 ///     clear: both;
     15 ///     content: "";
     16 ///     display: table;
     17 ///   }
     18 
     19 @mixin clearfix {
     20   &::after {
     21     clear: both;
     22     content: "";
     23     display: table;
     24   }
     25 }