Design comparison
Solution retrospective
Any feedback would be greatly appreciated, particularly concerning the overlay on mouseover of the main image.
Community feedback
- @origuyPosted almost 3 years ago
hey !
the card looks really nice.
- about the overlay I would add a transition on the color to and as a result the color will change gradually and fade out when you stop hover
- I would suggest to add overlay the the color so it would be a bit transparent.
- I suggest to add the image in a img tag and not as a background it will be more professional and accessible for people with screen readers
Keep on Coding !
0 - @darryncodesPosted almost 3 years ago
Hi Clint,
You've done a decent job on this one, nice work!
- I noticed that the card is quite narrow on really wide monitors, this is due to your
max-width: 25%;
in yourmax-width: 1368px
. I think you could really simplify things here and just swapmax-width: 16%;
for something likemax-width: 350px
; and remove all the media queries. Here is how max-widths work - You don't need to declare
image-equilibrium
again on hover:background: url(./images/image-equilibrium.jpg) no-repeat center/cover, url(./images/icon-view.svg) no-repeat center hsl(178, 100%, 50%);
- you could clear your accessibility/html report if you add some
alt-texts
Hope that helps!
0 - I noticed that the card is quite narrow on really wide monitors, this is due to your
- @rsrclabPosted almost 3 years ago
Hi, @AntonioHouTX ~
Congratulate on your solution to the challenge on FM platform. I have studied your work carefully and learned a lot from it.
Here are some of the tips I like to provide.
- About image overlay, you can add element and set it's position as absolute.
- I think adding transition effect on your hoverable elements like heading and creator name will make your work more beautiful.
- Try BEM structure for classing the elements. It will help you on bigger projects, I think.
https://www.frontendmentor.io/solutions/my-first-solution-on-chanllenge-V-4IzAivH
Here is my solution to this challenge, and if it can help you even a bit, it would be happy to me.
Cheers ~
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