arogersrenee
arogersrenee
KPCKevin Powell - Community
Created by arogersrenee on 8/10/2023 in #front-end
Is having an empty div to put a background image bad practice?
I'm using a div with a background image because it's the only way I could get the image the right size and position. Positon relative on the container and the absolute on the image wouldn't work for me. So I resorted to this method. Is that okay?
3 replies
KPCKevin Powell - Community
Created by arogersrenee on 8/4/2023 in #front-end
Nav Bar Justify-content : space-between not working
I'm working on the header section of a page. I started with mobile which is working fine. The mobile version is a hamburger menu. The problem is with the larger screen size. I expected justify-content: space-between to keep my nav-items to the left of the page, but it doesn't. The nav-items are stuck to the left, butting right next to the logo. I added a width the nav-items' <ul> tag but that just made the nav-items stuck in the middle of the header. Hopefully my code explains this better. I'm completely stuck. I put the relevant code in a codepen if anyone has time to take a look and assist. https://codepen.io/arogersrenee/pen/gOQEmQE
3 replies
KPCKevin Powell - Community
Created by arogersrenee on 5/5/2023 in #front-end
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
4 replies