Skip to content

Instantly share code, notes, and snippets.

@douglasdeodato
Created June 13, 2016 13:33
Show Gist options
  • Save douglasdeodato/6b7951c2090e673a526324ceaac4c56f to your computer and use it in GitHub Desktop.
Save douglasdeodato/6b7951c2090e673a526324ceaac4c56f to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
// http://sass-lang.com/documentation/Sass/Script/Functions.html#rgba-instance_method
// - (Sass::Script::Value::Color) rgba($color, $alpha)
// Sets the opacity of an existing color.
// Examples:
// rgba(#102030, 0.5) => rgba(16, 32, 48, 0.5)
// rgba(blue, 0.2) => rgba(0, 0, 255, 0.2)
element {
border: 1px solid color(black ,50%);
}
element {
border: 1px solid color(black, 50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment