Responsive Fylo Data Storage Component using Flexbox and pseudo-elemen

Solution retrospective
I'm proud of achieving pixel-perfect layout using only HTML and CSS, especially the custom shape created with ::after
. I also implemented accessibility improvements like adding a visually hidden h1
. Next time, I might explore using CSS Grid or utility-first classes for a more scalable approach.
One of the main challenges was replicating the shape of the white card with the arrow-like point. I solved it using pseudo-elements with specific borders and positioning. Another tricky part was aligning the white dot accurately within the progress bar – I experimented with multiple approaches before settling on a manual adjustment with transform
.
I'd appreciate feedback on:
- Whether there's a more efficient or scalable way to create the custom-shaped
box-white
. - Best practices for progress bar alignment and responsiveness.
- Any improvements for accessibility beyond the visually hidden heading.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Fernando Luis Pizarro'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