FAQ Challenge (SVG Doesn't load when used as Background image)

Solution retrospective
- I find it hard to put a stable size for the container is there a way to better do it.
- I saw people put like min-width and min-height on the body then specifying fixed size on the element container I find it hard to get the purpose of all of this.
- When designing of Mobile I added alot of padding so that the SVG doesn't go out of the body half invisible but that screwed the centering part and the fixed width made the Box SVG half seen is there a solution for this type of problems I tried searching but I got nothing.
- Github Doesn't shows the SVG if it was used as background-image is there a fix for that (please don't say embed it as inline it looks messy).
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Saleh's solution.
Join 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