Svelte + Tailwind CSS, infinite scroll,local storage after fetch
Design comparison
Solution retrospective
My first app online.
Any feedback welcome
added some fancy blur
effect on card select (applies to same row as selected card)
Community feedback
- @FexxixPosted over 1 year ago
Came over when I saw you liked my solution. After checking this out, I couldn't help but comment. Simply Beautiful. Probably the best solution for this one I have seen. Not just design-wise but also performance wise. Great Work! About the blur feature thought, I think you could do something like
.grid-section:has(.country-card:hover) .country-card:not(:hover)
to blur all grid items except the one being hovered on.Marked as helpful1@diversisPosted over 1 year ago@Fexxix lucky you. My app stopped fetching (timeout) when they updated flag data with that long
alt
text. I'll update app later. And about your advice. Now my app renders all cards inside one grid, so applying blur to all cards is not an option (too resource consuming). Maybe i could split them into rows for css somehow, but i haven't looked into this yet. And :has selector isn't supported in firefox.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