
faq accordion card using scss and typescript
Design comparison
Solution retrospective
this is my first project using typescript without create-react-app, so i am proud that i figured out how to use typescript without it. also its my first project using scss.
What challenges did you encounter, and how did you overcome them?the background image was pretty challenging because the location of it needed to be shifted to the left and the box was needed to be outside of the card party while the image itself needed to be inside of the card but also shifted to the left so part of it wont show.
i solved it by setting the card overflow as hidden and putting the box as a sibling component to the card with position absolute.
Community feedback
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