Home > OS >  navbar background isnt trasnparent but instead the color of the backgrounds completely
navbar background isnt trasnparent but instead the color of the backgrounds completely

Time:04-25

So when coding my website i have an issue where when i tried to make the background transparent but it shows like a solid bar instead, could it possibly be embedded into my other code?

.navbar {
position: fixed;
top: 0;
right: 5%;
z-index: 1;
display: flex;
background: transparent;}

the issue

CodePudding user response:

I recommend use opacity to make transparent background! Just go through this link on W3schools you will understand the concept of transparency and opacity.

  • Related