Skip to content

Instantly share code, notes, and snippets.

@elijahmanor
Created July 8, 2014 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elijahmanor/353daff18bd0e00900f7 to your computer and use it in GitHub Desktop.
Save elijahmanor/353daff18bd0e00900f7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.9)
// Compass (v1.0.0.alpha.20)
// Scut (v0.10.4)
// ----
@import "scut";
%primary-heading {
font-size: scut-em(48px);
font-weight: 800;
}
%secondary-heading {
font-size: scut-em(16px);
font-weight: 700;
line-height: scut-em(22px, 16px);
}
%body-copy {
font-size: scut-em(16px);
line-height: scut-em(24px, 16px);
}
h1 {
@extend %primary-heading;
}
h2 {
@extend %secondary-heading;
}
p {
@extend %body-copy;
}
// _hero.scss
.Hero {
.Hero-heading {
@extend %secondary-heading;
}
}
/*
* Scut, a collection of Sass utilities
* to ease and improve our implementations of common style-code patterns.
* v0.10.4
* Docs at http://davidtheclark.github.io/scut
*/
h1 {
font-size: 3em;
font-weight: 800;
}
h2, .Hero .Hero-heading {
font-size: 1em;
font-weight: 700;
line-height: 1.375em;
}
p {
font-size: 1em;
line-height: 1.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment