Bookmark Landing Page using Sass and JS
Design comparison
Solution retrospective
Please leave a feedback on the best way to change image color using css.
Thanks.
Community feedback
- @mattstuddertPosted almost 5 years ago
Nice work, Abubakar! To change the color of the logo you can just embed the SVG code directly in the HTML. You can then add a class to the element you'd like to change and then update the
fill
color.Just a quick heads up that the
vh
units are throwing off your screenshot at the moment. It's best to avoid usingvh
, except in very particular circumstances. Instead, I'd just use a combination ofpadding
andmargin
on elements and let the height of the parent element be dictated by the height of the content within. If you make those changes you can take a new screenshot above.Let me know if you have any questions 👍
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