Skip to content

Instantly share code, notes, and snippets.

@fotan
Last active August 29, 2015 14:20
Show Gist options
  • Save fotan/bbe71440630f79cc296b to your computer and use it in GitHub Desktop.
Save fotan/bbe71440630f79cc296b to your computer and use it in GitHub Desktop.
Transparent BG Color
/* Semi-Transparent BG */
/* 255,0,0 = RGB color */
/* 0.5 = opacity.  0.1 - 1 */
background-color:rgba(255,255,255,0.3);
         
/* Semi Transparent BG for IE8.  First 2 numbers are opacity percentage.  Last 6 are hex color. */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#90ffffff, endColorstr=#90ffffff)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment