Design comparison
SolutionDesign
Community feedback
- @hakizimana-fredPosted about 2 years ago
I need help aligning the arrow-down svg to it's absolute positon.
0@frasconi00Posted about 2 years ago@hakizimana-fred Hi, you're doing great!
An idea that has come to my mind to fix that is to put the <p class="text"> and the <img> in a container with display:flex and justify-content: space-between, with some padding between the <p> and the <img>.
This is what I did in my solution ( https://www.frontendmentor.io/solutions/faq-accordion-card-using-html-css-javascript-1SxIxkv3J8 ), but there are for sure a lot of other ways to do that. Hope this helps!! Keep it going 😄
Marked as helpful0
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