Sass unquote() Function

Last Updated:

Sass unquote() Function

The unquote() function returns a string as an unquoted string.

Note: This can produce strings that aren't valid CSS.

Example

SASS TO CSS CONVERTER
@debug unquote(sans-serif); // sans-serif @debug unquote("sans-serif"); // sans-serif

Syntax

unquote($string)

Parameter Value

ValueTypeExplanation
$string Required A string.

Return Value

ValueExplanation
string Returns $string as an unquoted string. This can produce strings that aren’t valid CSS, so use with caution.

Share this Page

Meet the Author