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 Foundations CSS Gradients Radial Gradients

can someone recommend me some linear gradient values?

a

not sure what you mean by "recommend" (you can use whatever values you want) but here's some I'm using for a project I'm building.

background: -webkit-linear-gradient(left, white 5%, rgba(100, 100, 100, .8) 30%, rgba(40, 40, 40, .8) 50%, rgba(100, 100, 100, .8) 70%, white 95%);
  background: -o-gradient(left, white 5%, rgba(100, 100, 100, .8) 30%, rgba(40, 40, 40, .8) 50%, rgba(100, 100, 100, .8) 70%, white 95%);
  background: -moz-gradient(left, white 5%, rgba(100, 100, 100, .8) 30%, rgba(40, 40, 40, .8) 50%, rgba(100, 100, 100, .8) 70%, white 95%);
  background: linear-gradient(left, white 5%, rgba(100, 100, 100, .8) 30%, rgba(40, 40, 40, .8) 50%, rgba(100, 100, 100, .8) 70%, white 95%);

It's just a white to dark grey to white gradient

1 Answer

Jacob Miller
Jacob Miller
12,466 Points

This CSS gradient generator is pretty cool. You can pick from a bunch of styles or make your own and it generates the code for you. http://www.colorzilla.com/gradient-editor/