Sass to-upper-case() Function

Last Updated:

Sass to-upper-case() Function

The to-upper-case() function returns a copy of a string with the ASCII letters converted to upper case.

Example

SASS TO CSS CONVERTER
//Check your console @debug to-upper-case("italic"); // "ITALIC" @debug to-upper-case(SanS-sErif); // "SANS-SERIF"

Syntax

to-upper-case($string)

Parameter Value

ValueTypeExplanation
$string Required A string.

Return Value

ValueExplanation
string Returns a copy of $string with the ASCII letters converted to upper case.

Share this Page

Meet the Author