Submitted over 4 years agoA solution to the Stats preview card component challenge
Stats preview card component solution using CSS Flexbox.
@hugh128

Solution retrospective
I have a doubt about why when I apply width in my CSS code (for example 82%) to the container (div class="card__texts" in my code) of h2, p and div does not apply, but if I apply individually width to its children of that container applies the width.
Edited: now the card keeps its size in resolutions higher than 1366px and set the width of 50% in both containers (container of the text area and the container of the image) in the desktop version. Thanks for the comments and help.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Hugh'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