
Submitted about 3 years ago
Responsive NTF card component using plain HTML and CSS
@jandrev
Design comparison
SolutionDesign
Solution retrospective
Hello there! I got in quite a lot of trouble determining when I should use an ID and when I should use a class. How can I optimize my use of IDs and classes? Another thing that bugged me is that I had to nest three divs to create the shadow of the main card. How can I improve the creation of these shadows? I tried using box-shadow, but I could not control the width and height of the shadow.
Community feedback
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