Question

I'm sure this is a stupid question but whenever I put in a value for transparency, it goes completely transparent.

.studentHelp#sidebar{
  position:fixed;
  left:-300px;
  top:30px;
  width:300px;
  height:100%;
  background-color:rgb(0,255,255,0.3); // this should be opaque?!?!?!
}

I've tried setting

'opaque: 0.3'

but then all of the child elements inherit the transparency? Any help is appreciated and thanks in advance!

Était-ce utile?

La solution 2

Hey neau try using rgba and goodluck!

Autres conseils

should be:

background-color:rgba(0,255,255,0.3);

note the rgb*a*

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top