call
  • References/CSS/Sass/Functions

call($name, $args...) Dynamically calls a function. This can call user-defined functions, built-in functions, or plain CSS

2025-01-10 15:47:30
if
  • References/CSS/Sass/Functions

if($condition, $if-true, $if-false) Returns one of two values, depending on whether or not $condition is true

2025-01-10 15:47:30
transparentize
  • References/CSS/Sass/Functions

transparentize($color, $amount) Also known as: fade_out Makes

2025-01-10 15:47:30
percentage
  • References/CSS/Sass/Functions

percentage($number) Converts a unitless number to a percentage.

2025-01-10 15:47:30
lighten
  • References/CSS/Sass/Functions

lighten($color, $amount) Makes a color lighter. Takes a color and a number between 0% and 100%

2025-01-10 15:47:30
index
  • References/CSS/Sass/Functions

index($list, $value) Returns the position of a value within a list. If the value isn’t found, returns null instead

2025-01-10 15:47:30
grayscale
  • References/CSS/Sass/Functions

grayscale($color) Converts a color to grayscale. This is identical to desaturate(color, 100%).

2025-01-10 15:47:30
lightness
  • References/CSS/Sass/Functions

lightness($color) Returns the lightness component of a color. See

2025-01-10 15:47:30
global_variable_exists
  • References/CSS/Sass/Functions

global_variable_exists($name) Check whether a variable with the given name exists in the global scope (at the top level of

2025-01-10 15:47:30
map_values
  • References/CSS/Sass/Functions

map_values($map) Returns a list of all values in a map. This list may include duplicate values, if multiple keys have the

2025-01-10 15:47:30