@dazzlerabhi30800
Posted
Put your container inside main tag and your accessibility issues will be solved. use justify-content: space-between on the '.contain-desc' to align the text in center with the image.
Looking to hire developers?
Submitted
@TanNguyen17112003
So happy to overcome this challenge
@dazzlerabhi30800
Posted
Put your container inside main tag and your accessibility issues will be solved. use justify-content: space-between on the '.contain-desc' to align the text in center with the image.
@correlucas
Posted
πΎHello TAN NGUYEN, congratulations for your new solution!
Here's some tips to improve your component and its responsiveness:
You need to fix the container size and responsiveness, to do that add max-width: 1110px
to create the container size and make it responsive allowing it to scale.
.container {
max-width: 1110px;
}
Then you've to align all the text for the container left:
.container {
text-align: left;
}
To add the exact same purple overlay effect for the image, matching the design files you can use, filter
, background-blend-mode
or mix-blend-mode
(the best choice in my opinion). See the code below
img {
mix-blend-mode: multiply;
opacity: 0.8;}
π I hope this helps you and happy coding!
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