Submitted 12 months ago
State preview card using Mobile-First
@abhishek-baliyan-dev
Design comparison
SolutionDesign
Solution retrospective
- How to add color on image.
I was unable to do that in this challenge correctly.
Any suggestion.
Community feedback
- @noutcheu1Posted 12 months ago
hello @abhishek-baliyan-dev cool you implementation for your problem you are not suppose to add color on image you can just use a pseudo css class like after or before a define a background property like this exemple :
you_css_class_name::before{ background-color: hsla(247, 45%, 53%, 0.685); content: ''; border-top-right-radius: 10px; border-bottom-right-radius: 10px; width: 100%; }
1
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