World-ui (CSS pseudo selector)

From PowerUI
Jump to: navigation, search

PowerUI defines world-ui (and main-ui) to make distinguishing the two within CSS easy:

/* Target the body of a world UI */

body:world-ui{
 
 color:green;
 
}

This pseudo-selector is true when:

  • The element is on a World UI (or a flat world UI).