Design comparison
Solution retrospective
Tried my best to BEM naming in CSS... Facing a bit problem in overlay on the image at 600 px width breakpoint
Other suggestions are welcomed.😊
Community feedback
- @mauriciompfPosted almost 2 years ago
Hello, Samal👋
Perhaps you don't need to use CSS FLEXBOX in the
business_product
class.Use the margin-top property in the h1, p, and div tags.
I hope I have contributed to your learning!
0 - @HassiaiPosted almost 2 years ago
for the color of the image, give .image_business a background-color of soft violet and give the img a width of 100%, height of 100%, object-fit: cover, mix-blend-mode: multiply and opacity: 0.8
.business_image{background-color: hsl(); } img{ width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.8; }
In the media query, add a width of 50% to .business_product and .bisiness_image.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
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