Design comparison
SolutionDesign
Solution retrospective
Which is the preferred way to overlay an image with colored background? Give the answer in the context of current challenge. I have thought of some ways. Please correct me if i am wrong.
- Using ::before or ::after psuedoelement selector on image or image container.
- Using linear-gradient if we are displaying the image with the help of CSS and not HTML.
Community feedback
- @AkoToSiJeromeEhPosted over 1 year ago
This comment was deleted 6 months ago
0@avinash4364Posted over 1 year ago@AkoToSiJeromeEh Thanks bro, today i learned a new css property.
0
Please log in to post a comment
Log in with GitHubJoin 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