r/beginnerwebdev • u/Meldzha • Jan 24 '19
Background image @ Codepen
Hey guys,
I am struggling with a simple thing. Just started a new project for a product selling page but I can't upload a background image for my showcase. I mean I made a nav bar inside the header and made another <div> container for the image inside header. Added a class for the <div> and inside CSS tried background-image: url(); and background:url(); aswell. Can you explain me this simple thing?
Thank you in advance!
Here is my code: https://codepen.io/Meldzha/pen/RvWWNg
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Jan 24 '19
I'm sorry, I'm still not quite getting it. So you want the navbar to have a background image or do you want the navbar to be see-through with the image covering the entire viewport including laying itself underneath the navbar?