Submitted over 2 years ago
Social proof section Using HTML and CSS
@adil-khursheed
Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
πΎHello Adil Khursheed, congratulations for your new solution!
To have more control over the
background
images, instead of usingimg
use it on the body withbackground-image
. See the changes I did to your code here:body { width: 100vw; height: 100vh; position: relative; padding: 4.5rem 8rem; background-image: url(../bg-pattern-top-desktop.svg), url(../bg-pattern-bottom-desktop.svg); background-position: left -185px top -236px, right 10px bottom -300px; background-repeat: no-repeat, no-repeat; background-attachment: fixed, fixed; background-size: contain, contain; }
π¨βπ» Here's my solution for this challenge if you wants to see how I build it: https://www.frontendmentor.io/solutions/social-proof-section-pure-css-grid-custom-hover-states-KwSrl-Rjws
π I hope this helps you and happy coding!
Marked as helpful0@adil-khursheedPosted over 2 years ago@correlucas Hello Lucas, Thank You for your help. I have made the necessary changes in my code according to your guidance.
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