Links
Comment on page

Available Attributes

Attributes are applied to elements to expose app state information to CSS
Attribute Pattern
Values
Description
body[video-playing]
Is a music video playing?
body[focus-state]
  • focused
  • blurred
Focus state of the window
body[playback-state]
  • playing
  • paused
Current playback state
#app[window-style]
  • default - Cupertino
  • twopanel - Redmond
Window Layout Style