Design comparison
SolutionDesign
Solution retrospective
This is my next work, I'm not quite sure what color I am suppose to use for overlay. Any feedback or tips would be appreciated.
Community feedback
- @iHarryDPosted about 3 years ago
You shouldn't use that technique to create overlays, instead use before/after pseudo elements.
Marked as helpful1@CoderPr0Posted about 3 years ago@iHarryD Alright, thank you. I'll look into it and make changes. Btw could you let me know why this technique shouldn't be used?
0@iHarryDPosted about 3 years ago@CoderPr0 Using before/after pseudo elements to create overlays is just more efficient and requires lesser code. You wouldn't need to create an external container to contain the images.
Marked as helpful1
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