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

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools