Design comparison
Solution retrospective
I found difficult to make the image fill the entire right column, but i found the way to do it and finish the challenge. Please feel free to review my code and comment if i need to improve in some aspect of my coding.
Community feedback
- @MelvinAguilarPosted over 1 year ago
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
-
Are the numbers important enough to be heading elements? What is the content associated with those elements? This is the heading structure:
- Get insights that help your business grow. (h1).
- 10k+ (h2).
- 314 (h2).
- 12m+ (h2).
does this make sense? more info here.
- Get insights that help your business grow. (h1).
-
To recreate the exact purple color of the image you can do the following:
.col-right { background-color: rgb(171, 92, 219); } .col-right::after { /* opacity: 0.3; */ opacity: 0.75; mix-blend-mode: multiply; }
- The second style applies a blending effect to the image by setting the
mix-blend-mode
property to multiply. This means that the image will blend with the background color in a way that multiplies the color values of each pixel.
- The second style applies a blending effect to the image by setting the
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful2@AEPEX25Posted over 1 year ago@MelvinAguilar I really appreciate your helpful suggestions.
0 -
- @HassiaiPosted over 1 year ago
For the color of the image, add the background-image to .col-right and add background-blend-mode: multiply and opacity: 0.8 to it .
.col-right{ background-image: url(); background-size: cover; background-color: hsl() background-blend-mode: multiply; opacity: 0.8; }
To center .card on the page using grid, replace the height in the body with min-height: 100vh.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1@AEPEX25Posted over 1 year ago@Hassiai Thank you for your comment, it's really helpful to know other points of view about what can be done better.
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