Profile card using html and css

Solution retrospective
Any suggestions on how to get the border-top line to fill the entire width of the container?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AkoToSiJeromeEh
Hi! Great work out there! Regarding your issue, you can add a width of 100% to your .stats element so that it fills the entire width of the container. (The bold text represents the code I modified in your source code.) I hope this helps and works. Happy coding!
.stats {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
text-align: center;
gap: 50px;
border-top: solid 1px hsl(0, 0%, 59%);
margin: 0 auto;
}
Marked as helpful - @JBintheCut
Thank you so much :) :) I'll try that in my code.
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