Abdul Khaliq 🚀• 72,660
@0xabdulkhaliq
Posted
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 helpful
2
Ulises• 150
@Ulise22
Posted
@0xAbdulKhalid I've already applied what you said and it really help, thank you so much!😁
0