Closed nicetransition closed 11 years ago
I see that fallback is in https://github.com/LukeAskew/Front-End-Standards/blob/master/Stylesheets/CSS.md#browser-compatibility, but is that the right place?
What benefit does using rgb
at all have? Why not just use rgba
with an alpha of 1
?
The reasoning for the standard is two-fold:
rgba
and hex
are slightly more performant that named shortcuts and hsla
, and hsla
is not an RGB has better support, that's it. But not major concern.
CSS.md#value-formatting Why say
Use hex or rgba
?It might be better to say when using
rgb(
andrgba(
to include a fallback, i.e.: