Difference between revisions of "World-ui (CSS pseudo selector)"
From PowerUI
(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...") |
|||
Line 1: | Line 1: | ||
− | PowerUI defines world-ui (and [[main-ui (CSS pseudo selector)| | + | 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"> |
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 the main UI */
body:world-ui{
color:green;
}
This pseudo-selector is true when:
- The element is on a World UI (or a flat world UI).