Skip to content

Instantly share code, notes, and snippets.

@xubo-bj
Created March 29, 2016 04:08
Show Gist options
  • Select an option

  • Save xubo-bj/34943aecea71ed7c8109 to your computer and use it in GitHub Desktop.

Select an option

Save xubo-bj/34943aecea71ed7c8109 to your computer and use it in GitHub Desktop.
sass
@mixin clear{
&:before,&:after{
content:' ';
display: table;
}
&:after{
clear: both;
}
}
$one-rem:36;
@function rem($n) {
@return $n /$one-rem * 1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment