Created
September 29, 2014 15:51
-
-
Save tmlangley/825fe4130c87e9eb3ab5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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.4) | |
// Compass (v1.0.1) | |
// ---- | |
$myVar: 3; | |
// I essentially want $myVar-1 to evaluate to 2n | |
&:nth-child((#{$myVar}-1)n) { | |
// do stuff... | |
} |
This file contains hidden or 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
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