Which Sass function is used to convert the string to the uppercase?

23. Which Sass function is used to convert the string to the uppercase?

  1. str-upper(string)
  2. str-upr(string)
  3. str-upper-case(string)
  4. to-upper-case(string)

Answer: D) to-upper-case(string)

Explanation:

The to-upper-case(string) function is used to convert the string to the uppercase.

Example:

to-upper-case("IncludeHelp")
Result: "INCLUDEHELP"

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.