Sass quote() Function

Last Updated:

Sass quote() Function

The quote() function returns a string as a quoted string.

Example

SASS TO CSS CONVERTER
//Check your console @debug quote(sans-serif); // "sans-serif" @debug quote("sans-serif"); // "sans-serif"

Syntax

quote($string)

Parameter Value

ValueTypeExplanation
$string Required A string.

Return Value

ValueExplanation
string Returns $string as a quoted string.

Share this Page

Meet the Author