Skip to content

Instantly share code, notes, and snippets.

@dhunmoon
Last active September 8, 2015 11:44

Revisions

  1. dhunmoon revised this gist Sep 8, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion cssRGBAColor.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,8 @@
    background: red or transparent; /* Feedback color */
    background: rgba(red, green, blue, alpha); /* For modern browsers */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, StartColorStr='#FFFFFFFF', EndColorStr='#FFFFFFFF')"; /* For IE8 */
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#FFFFFFFF', EndColorStr='#FFFFFFFF'); /* For IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#FFFFFFFF', EndColorStr='#FFFFFFFF'); /* For IE6,IE7 */\
    /*
    Link To generate RGBA colors for all browsers:
    http://beijingyoung.com/articles/rgba-argb-converter/
    */
  2. dhunmoon created this gist Sep 8, 2015.
    4 changes: 4 additions & 0 deletions cssRGBAColor.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    background: red or transparent; /* Feedback color */
    background: rgba(red, green, blue, alpha); /* For modern browsers */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, StartColorStr='#FFFFFFFF', EndColorStr='#FFFFFFFF')"; /* For IE8 */
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#FFFFFFFF', EndColorStr='#FFFFFFFF'); /* For IE6,IE7 */