Skip to content

Instantly share code, notes, and snippets.

View MarcosTeles's full-sized avatar
🌴
On vacation

Marcos Teles MarcosTeles

🌴
On vacation
  • Belo Horizonte, MG
View GitHub Profile
@karlstolley
karlstolley / rgba.scss
Created October 19, 2012 03:04
RGB/RGBa in Sass
// Declare the color as RGB; SASS will treat this as hex
$green: rgb(27,224,63);
// Declare an alpha
$alpha: .5;
// Declare another color variable as a color with an alpha
$greenAlpha: rgba($green, $alpha);
body {
/* As RGB (which SASS actually ouputs as HEX) */
background: $green;