Stats Preview Component using HTML and CSS

Solution retrospective
This is my fifth challenge. It is okay that I did not use <img> tag here? I just put image as background-image of a divider.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hassiai
There is no need for <div class="image"> </div> in order to get the color of the image. Add background: hsl(277, 64%, 61%); and background-blend-mode: multiply; to .preview-image
Remove background-color: hsl(244, 38%, 16%); from .container and add it to .preview-content There is no need to give .preview-content a height value, replace the height value with padding top and bottom values. Use rem or em as unit for the padding , margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To Hope am helpful HAPPY CODING
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