Skip to content

Instantly share code, notes, and snippets.

@amrelkerm
Last active October 13, 2017 06:05
Show Gist options
  • Save amrelkerm/2e318bf931bb3a50c1c54017b375c7f9 to your computer and use it in GitHub Desktop.
Save amrelkerm/2e318bf931bb3a50c1c54017b375c7f9 to your computer and use it in GitHub Desktop.
problem with sass i dont understand were's the error whine i use the if condition it's not working
// problem with sass i dont understand were's the error whine i use the if condition it's not working
// this's just class
.iff {
color: $greeen;font-size: $bold;background-color: aliceblue;
@if (color == $greeen) {
font-size: 30px;background-color: purple;
} @else {
background-color: rosybrown;font-size: 6px;
}
}
@amrelkerm
Copy link
Author

I need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment