Design comparison
Solution retrospective
First time using sass has some nice features compared to regular css. Built the site mobile first and used bem, will be using bem from now on and continuing to build mobile first.
What challenges did you encounter, and how did you overcome them?The main challenge was the desktop site, not quite sure if my layout is correct. Also need to learn more sass features.
What specific areas of your project would you like help with?Any feedback regarding the layout on the desktop site would be appreciated and tips for sass.
Community feedback
- @mkostrikovPosted 5 months ago
The parent selector, &, is a special selector invented by Sass that’s used in nested selectors to refer to the outer selector. .alert { // The parent selector can be used to add pseudo-classes to the outer // selector. &:hover { font-weight: bold; } } https://sass-lang.com/documentation/style-rules/parent-selector/
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord