World-ui (CSS pseudo selector)

From PowerUI
Revision as of 19:52, 13 January 2017 by 151.229.186.156 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).