PDA

View Full Version : transparency in div tags


flawlesstwins
09-11-2012, 05:38 PM
Can someone tell me how I can get the affect like these two sites. http://www.justinbiebermusic.com/
and http://rayj.com/. on the Justin bieber site, I love the fact that his columns/divs seem to be transparent so you can see his background pic throughout the entire site. On Ray J's site I like the header, where the words RAY J seem to be transparent. How do I achieve such look? Is this something that I can do in DW or do I have to create this in photoshop? I appreciate any help or insight.

domedia
09-11-2012, 08:14 PM
For any HTML element in CSS:

element {
background: rgba(255, 255, 255, .9);
}

.

Corrosive
09-12-2012, 07:58 AM
on the Justin bieber site, I love the fact that his columns/divs seem to be transparent so you can see his background pic throughout the entire site.

I hate the fact you've linked to a Justin Bieber site ;)