Design comparison
SolutionDesign
Solution retrospective
This is the first project i do using Tailwind, so any feedback or advice to improve will be appreciated
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
HEADER iMAGE 📸:
- Looks like the
img
and has been set disorted bywidth
andheight
, let me explain How you can easily rectify the issue
- Since you are using Tailwind CSS, we can easily rectify it just add the following css utility class
object-cover
to theimg
element, and then experience the changes
<img src="./images/image-header-desktop.jpg" class="object-cover hidden lg:block lg:h-full rounded-r-xl">
- Note: the class
object-cover
is important to rectify the disortion of image in desktop view
- Tip, Don't forget to generate a new screenshot after editing the
css
file
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful2@Ulise22Posted over 1 year ago@0xAbdulKhalid I've already applied what you said and it really help, thank you so much!😁
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