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
Lori Smith
1,409 PointsCSS transparency gradient
I have a dark hero image and I want to create a transparency gradient to lighten it a bit, with more transparency on the left and less on the right. How would I go about doing that?
1 Answer
Craig Watson
27,930 PointsHi Lori,
I looked into this for a long time a while ago and never really seemed to come across a stable cross browser compatible way, although there are great things in the pipe line.
However you can do something like this, if you remove the background property for the class "cover" in the css you will see the original image.
Hope this helps! Craig
OMER BALAK
4,255 PointsOMER BALAK
4,255 PointsLook at that http://www.colorzilla.com/gradient-editor/ and copy codes into your css .