-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Are these examples for SASS only? #3
Comments
|
Ah ok thank you. I was reading it and it wasn't clear the examples weren't in pure css so it got me confused. |
Ah yes... definitely needs some annotations. I'm leaving this open for now until I get some time to clarify it. |
any similiar feature like @extend in SASS? |
@lijunle Mixins and Functions etc. For full list check http://sass-lang.com/documentation/file.SASS_REFERENCE.html |
I suppose the @extend will modify the DOM class. After read its document, I On Tuesday, February 10, 2015, Dean Hidri [email protected] wrote:
|
Just to clarify for OP (@jlap), .foo-bar {
// styles #1 ...
&.-baz {
// styles #2 ...
}
} It would compile to (or something similar to): .foo-bar {
/* styles #1 ... */
}
.foo-bar.-baz {
/* styles #2 ... */
} I think RSCSS is more about the structure rather than how you type it. So both are valid ways to practice RSCSS . |
Hello!
I was wondering if the examples in this repo are meant for SASS only. I never tried it so I can't recognize its syntax, but the nesting, classes beginning with "&." and things like that don't seem like regular CSS (Although it might simply be things I didn't know about !)
Thanks
The text was updated successfully, but these errors were encountered: