Social Proof Section Challenge responsive - HTML & CSS
Design comparison
Solution retrospective
Hello everyone,
I'm not sure about the desktop width sizes (No figma / Sktech files), and I couldn't make the second commentary fit exactly like in the design (Irene Robert/s one, the "and" on the first line should be on the 2nd line, in desktop mode).
Thanks for checking my work.
Community feedback
- @correlucasPosted about 2 years ago
๐พHello again Raink, congratulations for your new solution!
You did a really good work here putting everything together, something you can improve its your code html markup and semantics. You can replace the
<div>
that wraps each card with<article>
you can wrap the paragraph with the quote with the tag<blockquote>
this way you'll wrap each block of element with the best tag in this situation. Pay attention that<div>
is only a block element without meaning.To add the two
wave
svg background images in the (top/bottom),, the best way is by usingbackground-image
to manage it since adding them to thebody
you make sure it will be under everything, to manage different images inside a single css property asbackground-image
you use the comma inside each properties declare the single modification for each circle separated. See the code below to see your solution with those backgrounds applied:body { background-image: url(./assets/images/bg-pattern-top-desktop.svg), url(./assets/images/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; font-family: 'League Spartan', sans-serif; font-size: 15px; width: 100vw; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
โ๏ธ I hope this helps you and happy coding!
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