Adding padding to SVGs
I'm using SVG icons with a border-radius to create a circle around them. When I add padding to give space the icons disappear. The only way I could fix was to make the icons smaller padding smaller. They look fine, but I would like better control over the size.
here's al link to the repository if that's helpful: https://github.com/arogersrenee/huddle-landing-page-with-single-introductory-section-master
TIA
GitHub
GitHub - arogersrenee/huddle-landing-page-with-single-introductory-...
landing page hero section challenge. Contribute to arogersrenee/huddle-landing-page-with-single-introductory-section-master development by creating an account on GitHub.
3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
you should adapt the viewbox
I fixed it! It was actually because of box-sizing. I switched it to content-box for that class.