
Solution retrospective
What are you most proud of, and what would you do differently next time?
I used :target pseudo-class to switch slides, just for fun and there is an additional benefit: when sharing url, the displaying slide can be specified. But maybe there are some performance issues due to reloading and not prefetching?
I cannot use {transition: fill 0.15s ease;} to transit the <svg class="shop-now__arrow-svg"> element's fill color on hover.
I did some search and find it might be due to the <svg> inside <a>. I tried the approaches I found but none of them works.
Anyone can help me with this?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on calvinvin's solution.
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