Friday, September 18, 2015

rgba Tutorial

The final project should look something like this.
but you can have any photo you want there but you will still have to change the rgba color.

Make a new div and the code should look like this.
Make a few new css rules to get the picture in there and change the opacity of the container.
the rgba is the colors red, green, blue, and the opacity of the text. The a goes from 0-1 so in the fourth css tag it had a opacity of 0.8 and thats mostly opaque.

Don't forget to finally close it off.

No comments:

Post a Comment