view-transition-group-children

An experimental selector used in the View Transition API to target and style the children within a view transition group.

This is an experimental technology. The syntax and behavior are still subject to change.

/* Usage Example */
::view-transition-group-children(header) {
  /* Custom styling for pieces inside the header's transition group */
  outline: 2px solid blue;
}
Limited availability Since 2020 63% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

140+
140+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC