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

From PowerUI
Jump to: navigation, search
(Created page with "PowerUI defines world-ui (and world-ui) to make distinguishing the two within CSS easy: <syntaxhighlight lang="css"> /* Target the body of...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
PowerUI defines world-ui (and [[main-ui (CSS pseudo selector)|world-ui]]) to make distinguishing the two within CSS easy:
+
PowerUI defines world-ui (and [[main-ui (CSS pseudo selector)|main-ui]]) to make distinguishing the two within CSS easy:
  
 
<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).