Created
September 8, 2014 14:42
-
-
Save EliasTouil/196a10d971763ed224da to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.3) | |
// Compass (v1.0.1) | |
// ---- | |
$notes:3; | |
@function expo($base,$exponent){ | |
$value:$base; | |
@for $i from 2 through $exponent { | |
$value:$value*$base; | |
} | |
@return $value; | |
} | |
@for $i from 1 through $notes{ | |
.cols-#{$i}{ | |
width: 1* expo(106,$i)/10000 +em; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cols-1 { | |
width: 119.1016em; | |
} | |
.cols-2 { | |
width: 1.1236em; | |
} | |
.cols-3 { | |
width: 119.1016em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment