opacity

opacity($color)

Returns the alpha component (opacity) of a color. This is 1 unless otherwise specified.

Parameters:

  • $color (Color)

Returns:

  • (Number) The alpha component, between 0 and 1

Raises:

  • (ArgumentError) if $color isn’t a color
doc_Sass
2016-11-11 13:09:18
Comments
Leave a Comment

Please login to continue.