Responsive QR-Code Card using SCSS

Solution retrospective
Hey Guys 🫡,
simple project, but maybe some of you can make some little suggestions for improvement.
I´m grateful for any help 🤝
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AlexanderTheWise
Good copy.
When you're nesting classes like this: .card{ .... .card__qr-code{...} }
it will transpile to this: .card{...} .card .card__qr-code {...} => higher specificity (20)
Use "&" for BEM elements when using SASS. .card{ &__qr-code{...} => concatenation = (".card" + "__qr-code") }
It will transpile to this: .card {...} .card__qr-code{...} => lower specificity (10)
Marked as helpful - @waad2lf
Nice work your project looks awesome
Join 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