Skip to content

Instantly share code, notes, and snippets.

@corysimmons
Last active August 29, 2015 14:18
Show Gist options
  • Save corysimmons/05df3419ea1e7b21cc6c to your computer and use it in GitHub Desktop.
Save corysimmons/05df3419ea1e7b21cc6c to your computer and use it in GitHub Desktop.
block($fraction = 1)
$denominator = split('/', $fraction)
width: s('calc(100% * %s - (%s - %s / %s))', $fraction, $gut, $gut, $denominator)
block(1/4)
// Cannot call method 'split' of undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment