public static function SassScriptFunctions::fade_in in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/SassScriptFunctions.php \SassScriptFunctions::fade_in()
Makes a colour more opaque. Alias for {@link opacify}.
Parameters
SassColour The colour to opacify:
SassNumber The amount to opacify the colour by:
SassBoolean Whether the amount is a proportion of the current value: (true) or the total range (false).
Return value
new SassColour The opacified colour
Throws
SassScriptFunctionException If $colour is not a colour or $amount is not a number
See also
opacify
File
- phpsass/
script/ SassScriptFunctions.php, line 407
Class
- SassScriptFunctions
- SassScript functions class. A collection of functions for use in SassSCript. @package PHamlP @subpackage Sass.script
Code
public static function fade_in($colour, $amount, $ofCurrent = false) {
return self::opacify($colour, $amount, $ofCurrent);
}