Skip to content

Instantly share code, notes, and snippets.

@fractefactos
Last active August 29, 2015 14:27
Show Gist options
  • Save fractefactos/54b238d38e04942c1642 to your computer and use it in GitHub Desktop.
Save fractefactos/54b238d38e04942c1642 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<h1>SASS RULZ!</h1>
<div class="altura">HEIGHT &nbsp;</div>
<div class="altura-otra">ANOTHER HEIGHT &nbsp;</div>
// ----
// libsass (v3.2.5)
// ----
$altura : 20;
.altura-full
{
height: #{$altura}px;
}
.altura-otra
{
height: #{100 - $altura}px;
}
.altura-full {
height: 20px;
}
.altura-otra {
height: 80px;
}
<h1>SASS RULZ!</h1>
<div class="altura">HEIGHT &nbsp;</div>
<div class="altura-otra">ANOTHER HEIGHT &nbsp;</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment