
Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
- I put the illustration in an img tag, when I set the bottom margin I found that there is still a thin white line under the img tag. Then I learned that I can use
display: block;
to remove the extra space. - I learned that
@font-face
can only be used to define custom fonts.font-weight
in@font-face
definition means the accept range of a font-face. I thought I can inheritfont-weight
when using the custom font and I was wrong. - In the figma design, there is only the state of hover. I wonder what are the others look like, for example, active, focus, error.
- I learned to use
object-fit
when the size of the container doesn't fit the size of the image in it.
I'm all ears to hear anything about this practice.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @jrybarski
Good job
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