percentage
  • References/CSS/Sass/Functions

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

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
join
  • References/CSS/Sass/Functions

join($list1, $list2, $separator:auto) Joins together two lists into one. Unless $separator

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

set Return a new list, based on the list provided, but with the nth element changed to the value given.

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

str_insert($string, $insert, $index) Inserts $insert into $string at $index.

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
selector_append
  • References/CSS/Sass/Functions

selector_append($selectors...) Return a new selector with all selectors in $selectors appended one another as

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

str_length($string) Returns the number of characters in a string.

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

unquote($string) Removes quotes from a string. If the string is already unquoted, this will return it unmodified.

2025-01-10 15:47:30
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