Submitted over 3 years agoA solution to the Product preview card component challenge
Product preview card component solution using flexbox
@sb101-beep

Solution retrospective
Is it reasonable to use flexbox or css grid in place of other things such as floats or position divs etc? I like the technologies but find myself preferring them when maybe a simple solution would work too.
What is the convention on naming class and sub-classes with sass? I've tried to use class="card", class="card-inner" and card { &-inner { ..... } } which works well but struggle with names that would be under those. Is there a better way?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on sb101-beep's solution.
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