Escapes a string for use in CSS selectors. Uses the native CSS.escape when available (browsers), and falls back to a basic escape for Node.js / SSR environments.
CSS.escape
Escapes a string for use in CSS selectors. Uses the native
CSS.escapewhen available (browsers), and falls back to a basic escape for Node.js / SSR environments.