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

CSS CSS Basics (2014) Enhancing the Design With CSS Transparent Gradients and Multiple Backgrounds

Not getting the transparency at the bottom on my header image

I'm not getting that frosted effect on my header image. I've tried refreshing and I think I had this problem before. However, if I take out the (0deg...) it shows up.

"main-header { height: 700px; padding-top: 170px; background: linear-gradient(#0099FF, transparent 90%), linear-gradient(0deg, #fff, trasnparent), #0099FF url('../img/Sea_Aquarium.jpg') no-repeat center;

background-size: cover; margin-bottom: 100px; }"

3 Answers

You misspelled transparent.

We have all been there.

Well I feel stupid!