Skip to content

Instantly share code, notes, and snippets.

@tmlangley
Created September 29, 2014 15:51
Show Gist options
  • Save tmlangley/825fe4130c87e9eb3ab5 to your computer and use it in GitHub Desktop.
Save tmlangley/825fe4130c87e9eb3ab5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
$myVar: 3;
// I essentially want $myVar-1 to evaluate to 2n
&:nth-child((#{$myVar}-1)n) {
// do stuff...
}
Invalid CSS after "&:nth-child(": expected An+B expression, was "(3-1)n)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment