1
I have a menu of a site where specifying the element I change to a transparent color but it does not change, even putting as ! Port in front of the property. Behold:
In this menu it is like this in my style.css
.navigation{
height:50px;
background:rgba(243, 241, 245, 0.04) !important;
-webkit-box-shadow:0 0 3px rgba(0,0,0,.4);
-moz-box-shadow:0 0 3px rgba(0,0,0,.4);
box-shadow:0 0 3px rgba(0,0,0,.4);
-webkit-border-radius:0 0 4px 4px;
-moz-border-radius:0 0 4px 4px;
border-radius:0 0 4px 4px;
z-index:2;
text-align:center;
font-family: 'Roboto Condensed', sans-serif;
position:absolute;
top:0;
}
in the background this already in transparent even more so, when I reload the page it goes back to the color :
background: #f8f7f3;
Does anyone have any idea why you don’t hold the rgb value I put?
transparent and
background: rgba(0, 0, 0, 0);
– usuario
Not all well more even I putting rgba(0, 0, 0, 0); it still does not stay. It seems that there is another rule behind
– Natan Melo
put the code a little weird
– Léo Andrade
More my css has 3000 lines. so I put it there only where it accuses when I inspect the element. take a look at the navigation class
– Natan Melo
Clears the cache. xD
– viana
html in the area you are using;
– Léo Andrade
I cleared the cache and nothing
– Natan Melo
Ops, man. When you spoke to me in html, I had the idea to apply in the own page where is my menu. now yes.
– Natan Melo
@user There is a difference between "transparent" and "invisible".
– Sam
@Dvdsamm does exist but if you leave the
.navigation
invisible will disappear his menu.– usuario
@user But he wants an alpha 0.04. If you put 0 in alpha will be completely transparent and invisible.
– Sam
@Dvdsamm the background will be completely transparent.
– usuario