CSS: Gradient colour or is that always an image?

Discussion in 'Web Design and Development' started by eclipse, Jan 29, 2009.

  1. eclipse macrumors 6502a

    eclipse

    Joined:
    Nov 18, 2005
    Location:
    Sydney
    #1
    Hi,
    A few months ago I finally learned how some websites have a small gradient colour image and then just repeat it across or down their site to get a "gradient" from dark to light tones in their chosen colour.

    I'm wondering, is gradient colour now a CSS command, or going to become a CSS command, that can do away with the need for repeating an image? :cool:
     
  2. eclipse thread starter macrumors 6502a

    eclipse

    Joined:
    Nov 18, 2005
    Location:
    Sydney
    #3
    Oh, okay, but I was more after a colour effect going from light to dark without a background image. Maybe it was something from my imagination. Not to mind, I've got to learn how to do it with the image I guess.
     
  3. eclipse thread starter macrumors 6502a

    eclipse

    Joined:
    Nov 18, 2005
    Location:
    Sydney
    #4
  4. Trip.Tucker Guest

    Joined:
    Mar 13, 2008
    #5
    You're thinking of CSS3 which the current nightly webkits support, and Firefox has partial support. Gradients from CSS code only. No image required.

    ....not to be confused with No Jacket Required - the awesome 1985 album from Phil Collins. :D
     
  5. eclipse thread starter macrumors 6502a

    eclipse

    Joined:
    Nov 18, 2005
    Location:
    Sydney
    #6
    Aha! Lynda.com didn't lie to me! Yes, I remember it now... CSS3. D'oh! Too long to wait... have to do other image repeat thing for now. :eek:
     

Share This Page