Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6558819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:14:48+00:00 2026-05-25T13:14:48+00:00

I want to try and get a cross browser gradient effect working with rgb

  • 0

I want to try and get a cross browser gradient effect working with rgb values with fall backs in case the browser doesn’t support it.

jsFiddle example: http://jsfiddle.net/HelloJoe/hUxdh/

I believe I’ve covered the majority of browsers, but I have a few questions:

  1. Are there any other browsers that I have missed which are commonly used, as well as what properties would be needed for devices such as iPads/SmartPhones, or would they render from one of the currently used properties?

  2. If by chance the gradient isn’t rendered, is having the original background: rgb(50, 50, 50); enough to generate just a solid colour?

  3. With the filter value, I couldn’t get it working by using rgb values and had to resort to using a hex value instead, not that this is a huge problem, but I’m trying to only use rgb values. Is there a way round this or does it just not accept them?

  4. If I was to use rgba instead of rgb would I then need to have a rgba gradient background value, an rgb gradient background value as a fall back for not rendering the alpha transparency and then a solid background fall back in case no gradient was rendered at all? Or would the browser ignore the alpha transparency value and just display the rgb from the rgba without a separate rgb background fall back?

  5. As a final fall back for everything, would having a set hex value at the start of the CSS properties be needed? I guess there is no harm is adding a hex value but the idea of using rgb is if rgba is usable it makes for a quick and easy colour change throughout the site. So having a fall back hex value would make using rgb/rgba pointless for what I’m intending it’s used for since I’d need to go through and edit all hex values anyway.

I’ve done a bit of searching and examples vary, understanding is misinterpreted between different people and I was just try to create an accurate working example of getting the desired outcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:14:48+00:00Added an answer on May 25, 2026 at 1:14 pm

    May i suggest you this website to help you with your Gradients and fallback:
    http://www.colorzilla.com/gradient-editor/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

do you know where can i get the browser stylesheet? I try to explain
I want to try to get an EditText and Button next to each other.
I'm trying to get a consistent, cross browser outerHtml for a jQuery element, particularly
I want to try and get an understanding of how JMS works. I am
I want to try figure out how to get the <title>A common title</title> <meta
I want to try to convert a string to a Guid, but I don't
I want to try PartCover for code coverage. I'm running Visual Studio 2008 Professional
I want to try out SICP with Python. Can any one point to materials
I want to try CMake to manage a new C++ project. However, some files
I want to try the latest VS2010 RC. But I am not very comfortable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.