Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

HTML/CSS/FLEXBOX/JS

Waleed Alharthiβ€’ 90

@waleed-cs

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hey, I have a couple of question:

1- how to get the image similar to the preview? (cropped from right)

2- how to change the share image to the white color when I hover the mouse on it?

Community feedback

Dineshβ€’ 1,115

@Dinesh1042

Posted

Hello, Waleed Alharthi. πŸ‘‹

Your solution responds Preety Good.

  • You can use max-width for your drawer image` to get similar preview of the image.
  • If you are using the svg in a image tag, it is not possible to change anything within the SVG.
  • To the svg color on hover you have to include the whole SVG inline in html.
  • Use @media mediaquery to make it mobile responsive.

Happy Coding.😊

0

Waleed Alharthiβ€’ 90

@waleed-cs

Posted

Thanks for the feedback.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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