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…
body {
background: orange;
background: rgba(255, 165, 0, 0.5);
}
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).