Submitted almost 3 years agoA solution to the Fylo data storage component challenge
Fylo Data Storage Component
astro
@RubenSmn

Solution retrospective
This is my 7th challenge and I'm noticing that my interpretation of the sizing is getting better. It takes less time to try and get the correct sizes e.g. border-radius.
The progress bar was a lot of fun. Especially the dot inside. Since I did not exactly know the height of the dot I came up with a solution which uses the aspect-ratio of 1 / 1 to keep the height and width the same.
.dot {
background-color: var(--pale-blue);
height: 100%;
aspect-ratio: 1/1;
border-radius: 100%;
}
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Ruben'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