Design comparison
Solution retrospective
Am I overcomplicating my CSS? If so, are there any ways to keep things more simple?
Community feedback
- @tanererenPosted almost 2 years ago
Hey, well done on completing the project!
Your CSS looks pretty good to me. An improvement you could make is incorporating CSS variables into your code. With complex websites, you could have a lot of repeated values - CSS variables make it much easier to change all of them quickly. Using them is considered best practice.
I also noticed that you repeat the code below quite a few times, you could instead create custom class, call it
flex
and add it to your HTML with the same CSSdisplay: flex; justify-content: center; align-items: center;
0 - @suhaybjirdePosted almost 2 years ago
Well done Here is a tip you may get use full it better to organize you files
0
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