The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
Hi, I’m considering background fallbacks for browsers that don’t like rgba yet. Is this ok? It worked in IE8(Browser Mode through IE10) but I dunno…seems like it could fail…
background: rgba(255, 165, 0, 0.5);
*EDIT* A quick search gave me this http://css-tricks.com/rgba-browser-support/ but that was 2010…what are the latest opinions. :)
Should be fine, I do similar stuff for buttons that have linear gradients. So just a fixed colour fall back.
Basically anything older browsers don’t understand they ignore (as a rule of thumb), so browsers that don’t understand rgba will just skip it meaning the original remains in place.
Browsers that do understand will read the first, then the second and use the second because of the cascade. (Reads the stylesheet top to bottom).
Good to know. Thanks.
Just remembered @chriscoyier did an article on RGBA support a while back – http://css-tricks.com/rgba-browser-support/
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed