Difference between revisions of "World-ui (CSS pseudo selector)"

From PowerUI
Jump to: navigation, search
 
Line 3: Line 3:
 
<syntaxhighlight lang="css">
 
<syntaxhighlight lang="css">
  
/* Target the body of the main UI */
+
/* Target the body of a world UI */
  
 
body:world-ui{
 
body:world-ui{

Latest revision as of 19:52, 13 January 2017

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).