viewTransitionClass

The view-transition-class CSS property provides the selected elements with an identifying class (a ), providing an additional method of styling the view transitions for those elements.

MDN Reference