The nested class in CSS
.wrapper .widecolumn {
width: 983px;
}
could be repersented in SCSS as
.wrapper {
.widecolumn {
width: 983px;
}
}
but how to represent this?:
.wrapper.widecolumn {
width: 983px;
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
is fine (assuming here that wrapper is an example tag). If you’re just concerned about nesting, use & like so:
The & represents the parent object, so you can also do clever things like