Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Noah Wedan
4,168 PointsTransparency
On this web site theres a background with a transparency with content inside. Im trying to do this but every time I do this everything is transparent the logo and the text. How do i just get it so its transparent but the content isent?
2 Answers
stoyantodorov
7,666 Points background: rgb(0, 0, 0); /* Fallback for older browsers without RGBA-support */
background: rgba(0, 0, 0, 0.8); /* The last value sets the transparency. 0.8 = 80% */
Noah Wedan
4,168 PointsI didn't make this website i just wanted MINE to look like it sorry.
stoyantodorov
7,666 Pointsstoyantodorov
7,666 PointsI see you've set
color: rgba(255, 255, 255, .8);inside of
.collection-type-template-page .site-desc {That's why your text is transparent. color sets the text color, and u have set it to have an alpha vlaue of .8