
Custom Social Links Profile – HTML, CSS, Flexbox & Accessibility
Design comparison
Solution retrospective
I'm proud that I customized the card to fit my style, refined the state styles (hover
, focus
, active
), and improved accessibility for keyboard navigation.
The main challenge was styling the parent <li>
when its child <a>
was in :focus
or :active
. I tried :focus-within
, which worked in most cases, but :has()
is not yet fully supported across all browsers.
I’d love to learn best practices for styling parent elements based on the state of their children, especially in terms of accessibility and keyboard navigation.
Community feedback
- P@andredantastiPosted 3 days ago
Solução muito bem executada, com código HTML semântico; O código foi muito bem escrito, reutilizável e estruturado; Desafio concluido com sucesso
1@AsyalapaPosted 3 days ago@andredantasti Thank you for the great feedback! I'm glad everything turned out well. Wishing you success in your projects! 🚀
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