Design comparison
Solution retrospective
What do you think? Do you have any recommendations?
Community feedback
- @pradeeps4iniPosted over 2 years ago
Hi, pavlo.
What is this property doing? :where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {all:unset; display:revert}
You've kept the use of magic numbers to minimum in the CSS. I like it. I also have to start doing it.
I only want to say that, it would make your HTML code more readable and accessible, if you replace entry and cards from div to <section> tags.
Well done. I learned a lot reading your code.
1@pvl-aoPosted over 2 years ago@pradeeps4ini
Hi, Pradeep Saini.
Thank you for your feedback!
The code you are asking about - prevents the styles of elements in parentheses from being removed.
If you are interested in this reset - here is the article of the author of this CSS-reset technique: The New CSS Reset
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