Create A White Rgba / CSS3


Answer :

The code you have is a white with low opacity.



If something white with a low opacity is above something black, you end up with a lighter shade of gray. Above red? Lighter red, etc. That is how opacity works.



Here is a simple demo.



If you want it to look 'more white', make it less opaque:



background:rgba(255,255,255, 0.9);



Demo



I believe



rgba( 0, 0, 0, 0.8 )


is equivalent in shade with #333.



Live demo: http://jsfiddle.net/8MVC5/1/



Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy