Styling Reference
This page shows a list of all the available CSS variables grouped by the main UI element types and an "other" section that includes the CSS vars of the remaining elements.
Buttons
Section titled Buttons-  media-airplay-button(docs)
-  media-captions-button(docs)
-  media-cast-button(docs)
-  media-fullscreen-button(docs)
-  media-live-button(docs)
-  media-mute-button(docs)
-  media-pip-button(docs)
-  media-play-button(docs)
-  media-playback-rate-button(docs)
-  media-seek-backward-button(docs)
-  media-seek-forward-button(docs)
-  media-audio-track-menu-button
-  media-captions-menu-button
-  media-playback-rate-menu-button
-  media-rendition-menu-button
-  media-settings-menu-button
-  media-chrome-menu-button
-  media-chrome-button
| Name | Default | Description | 
|---|---|---|
| --media-airplay-button-display | inline-flex | displayproperty of button. | 
| --media-audio-track-menu-button-display | inline-flex | displayproperty of button. | 
| --media-button-icon-height | var(--media-control-height, 24px) | heightof button icon. | 
| --media-button-icon-transform | transformof button icon. | |
| --media-button-icon-transition | transitionof button icon. | |
| --media-button-icon-width | widthof button icon. | |
| --media-captions-button-display | inline-flex | displayproperty of button. | 
| --media-captions-menu-button-display | inline-flex | displayproperty of button. | 
| --media-cast-button-display | inline-flex | displayproperty of button. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .7)) | backgroundof control. | 
| --media-control-display | displayproperty of control. | |
| --media-control-height | 24px | line-heightof control. | 
| --media-control-hover-background | rgba(50 50 70 / .7) | backgroundof control hover state. | 
| --media-control-padding | 10px | paddingof control. | 
| --media-font | var(--media-font-weight, bold) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-font-weight | bold | font-weightproperty. | 
| --media-fullscreen-button-display | inline-flex | displayproperty of button. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of button icon. | 
| --media-live-button-display | inline-flex | displayproperty of button. | 
| --media-live-button-icon-color | rgb(140, 140, 140) | fillandcolorof not live button icon. | 
| --media-live-button-indicator-color | rgb(255, 0, 0) | fillandcolorof live button icon. | 
| --media-mute-button-display | inline-flex | displayproperty of button. | 
| --media-pip-button-display | inline-flex | displayproperty of button. | 
| --media-play-button-display | inline-flex | displayproperty of button. | 
| --media-playback-rate-button-display | inline-flex | displayproperty of button. | 
| --media-playback-rate-menu-button-display | inline-flex | displayproperty of button. | 
| --media-primary-color | rgb(238 238 238) | Default color of text and icon. | 
| --media-rendition-menu-button-display | inline-flex | displayproperty of button. | 
| --media-secondary-color | rgb(20 20 30 / .7) | Default color of button background. | 
| --media-seek-backward-button-display | inline-flex | displayproperty of button. | 
| --media-seek-forward-button-display | inline-flex | displayproperty of button. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof button text. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof button text. | 
Ranges
Section titled Ranges| Name | Default | Description | 
|---|---|---|
| --media-box-arrow-background | var(--_control-background) | border-top-colorof range box arrow. | 
| --media-box-arrow-border-width | var(--media-box-arrow-height, 5px) var(--media-box-arrow-width, 6px) 0 | border-widthof range box arrow. | 
| --media-box-arrow-display | inline-block | displayof range box arrow. | 
| --media-box-arrow-height | 5px | heightof range box arrow. | 
| --media-box-arrow-offset | translateXoffset of range box arrow. | |
| --media-box-arrow-width | 6px | widthof range box arrow. | 
| --media-box-border-radius | border-radiusof range box. | |
| --media-box-display | flex | displayof range box. | 
| --media-box-margin | 0 0 5px | marginof range box. | 
| --media-box-padding-left | padding-leftof range box. | |
| --media-box-padding-right | padding-rightof range box. | |
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .7)) | backgroundof control. | 
| --media-control-display | displayproperty of control. | |
| --media-control-height | 24px | line-heightof control. | 
| --media-control-hover-background | rgba(50 50 70 / .7) | backgroundof control hover state. | 
| --media-control-padding | 10px | paddingof control. | 
| --media-current-box-display | var(--media-box-display, flex) | displayof range current box. | 
| --media-current-box-margin | var(--media-box-margin, 0 0 5px) | marginof range current box. | 
| --media-preview-box-display | var(--media-box-display, flex) | displayof range preview box. | 
| --media-preview-box-margin | var(--media-box-margin, 0 0 5px) | marginof range preview box. | 
| --media-preview-chapter-background | var(--_preview-background) | backgroundof range preview chapter display. | 
| --media-preview-chapter-border-radius | 0 | border-radiusof range preview chapter display. | 
| --media-preview-chapter-margin | 0 | marginof range preview chapter display. | 
| --media-preview-chapter-padding | 3.5px 9px 0 | paddingof range preview chapter display. | 
| --media-preview-chapter-text-shadow | 0 0 4px rgb(0 0 0 / .75) | text-shadowof range preview chapter display. | 
| --media-preview-thumbnail-background | var(--_preview-background) | backgroundof range preview thumbnail. | 
| --media-preview-thumbnail-border | borderof range preview thumbnail. | |
| --media-preview-thumbnail-border-radius | var(--media-preview-border-radius) var(--media-preview-border-radius) 0 0 | border-radiusof range preview thumbnail. | 
| --media-preview-thumbnail-box-shadow | 0 0 4px rgb(0 0 0 / .2) | box-shadowof range preview thumbnail. | 
| --media-preview-thumbnail-max-height | 160px | max-heightof range preview thumbnail. | 
| --media-preview-thumbnail-max-width | 180px | max-widthof range preview thumbnail. | 
| --media-preview-thumbnail-min-height | 80px | min-heightof range preview thumbnail. | 
| --media-preview-thumbnail-min-width | 120px | min-widthof range preview thumbnail. | 
| --media-preview-time-background | var(--_preview-background) | backgroundof range preview time display. | 
| --media-preview-time-border-radius | 0 0 var(--media-preview-border-radius) var(--media-preview-border-radius) | border-radiusof range preview time display. | 
| --media-preview-time-margin | 0 | marginof range preview time display. | 
| --media-preview-time-padding | 3.5px 9px | paddingof range preview time display. | 
| --media-preview-time-text-shadow | 0 0 4px rgb(0 0 0 / .75) | text-shadowof range preview time display. | 
| --media-preview-transition-delay-in | .25s | transition-delayin of range hover preview. | 
| --media-preview-transition-delay-out | 0s | transition-delayout of range hover preview. | 
| --media-preview-transition-duration-in | .5s | transition-durationin of range hover preview. | 
| --media-preview-transition-duration-out | .25s | transition-durationout of range hover preview. | 
| --media-preview-transition-property | visibility, opacity | transition-propertyof range hover preview. | 
| --media-primary-color | rgb(238 238 238) | Default color of text and icon. | 
| --media-range-bar-color | var(--media-primary-color, rgb(238 238 238)) | color_valueof range bar (elapsed progress). | 
| --media-range-padding | var(--media-control-padding, 10px) | paddingof range. | 
| --media-range-padding-left | var(--_media-range-padding) | padding-leftof range. | 
| --media-range-padding-right | var(--_media-range-padding) | padding-rightof range. | 
| --media-range-thumb-background | var(--media-primary-color, rgb(238 238 238)) | backgroundof range thumb. | 
| --media-range-thumb-border | none | borderof range thumb. | 
| --media-range-thumb-border-radius | 10px | border-radiusof range thumb. | 
| --media-range-thumb-box-shadow | 1px 1px 1px transparent | box-shadowof range thumb. | 
| --media-range-thumb-height | 10px | heightof range thumb. | 
| --media-range-thumb-opacity | 1 | opacityof range thumb. | 
| --media-range-thumb-transform | none | transformof range thumb. | 
| --media-range-thumb-transition | transitionof range thumb. | |
| --media-range-thumb-width | 10px | widthof range thumb. | 
| --media-range-track-backdrop-filter | backdrop-filterof range track. | |
| --media-range-track-background | rgb(255 255 255 / .2) | backgroundof range track background. | 
| --media-range-track-background-backdrop-filter | backdrop-filterof range track background. | |
| --media-range-track-border | none | borderof range track. | 
| --media-range-track-border-radius | 1px | border-radiusof range track. | 
| --media-range-track-box-shadow | none | box-shadowof range track. | 
| --media-range-track-color | transparent | color_valueof range track (remaining progress). | 
| --media-range-track-height | 4px | heightof range track. | 
| --media-range-track-outline | outlineof range track. | |
| --media-range-track-outline-offset | outline-offsetof range track. | |
| --media-range-track-pointer-background | backgroundof range track pointer. | |
| --media-range-track-pointer-border-right | border-rightof range track pointer. | |
| --media-range-track-transition | transitionof range track. | |
| --media-range-track-translate-x | 0px | translatex-coordinate of range track. | 
| --media-range-track-translate-y | 0px | translatey-coordinate of range track. | 
| --media-range-track-width | 100% | widthof range track. | 
| --media-secondary-color | rgb(20 20 30 / .7) | Default color of button background. | 
| --media-time-range-display | inline-block | displayproperty of range. | 
| --media-time-range-hover-bottom | -5px | bottomof range hover zone. | 
| --media-time-range-hover-display | block | displayof range hover zone. | 
| --media-time-range-hover-height | max(100% + 5px, 20px) | heightof range hover zone. | 
| --media-volume-range-display | inline-block | displayproperty of range. | 
Displays
Section titled Displays-  media-duration-display(docs)
-  media-preview-chapter-display
-  media-preview-time-display
-  media-text-display
-  media-time-display(docs)
| Name | Default | Description | 
|---|---|---|
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .7)) | backgroundof control. | 
| --media-control-display | displayproperty of control. | |
| --media-control-height | 24px | line-heightof control. | 
| --media-control-hover-background | rgba(50 50 70 / .7) | backgroundof control hover state. | 
| --media-control-padding | 10px | paddingof control. | 
| --media-duration-display-display | inline-flex | displayproperty of display. | 
| --media-font | var(--media-font-weight, bold) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-font-weight | bold | font-weightproperty. | 
| --media-preview-chapter-display-display | inline-flex | displayproperty of display. | 
| --media-preview-time-display-display | inline-flex | displayproperty of display. | 
| --media-primary-color | rgb(238 238 238) | Default color of text and icon. | 
| --media-secondary-color | rgb(20 20 30 / .7) | Default color of button background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof button text. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof button text. | 
| --media-time-display-display | inline-flex | displayproperty of display. | 
Indicators
Section titled Indicators-  media-loading-indicator(docs)
| Name | Default | Description | 
|---|---|---|
| --media-control-display | displayproperty of control. | |
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of button icon. | 
| --media-loading-indicator-display | inline-block | displayproperty of loading indicator. | 
| --media-loading-indicator-icon-height | 100px | heightof loading icon. | 
| --media-loading-indicator-icon-width | widthof loading icon. | |
| --media-loading-indicator-opacity | 0 | opacityproperty of loading indicator. Set to 1 to force it to be visible. | 
| --media-loading-indicator-transition-delay | 500ms | transition-delayproperty of loading indicator. Make sure to include units. | 
| --media-primary-color | rgb(238 238 238) | Default color of text and icon. | 
Others
Section titled Othersmedia-chrome-dialog
Section titled media-chrome-dialog| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-dialog-display | inline-flex | displayof dialog. | 
| --media-dialog-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof dialog. | 
| --media-dialog-border-radius | border-radiusof dialog. | |
| --media-dialog-border | none | borderof dialog. | 
| --media-dialog-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out | transitionof dialog when showing. | 
| --media-dialog-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof dialog when hiding. | 
| --media-dialog-visibility | visible | visibilityof dialog when showing. | 
| --media-dialog-hidden-visibility | hidden | visibilityof dialog when hiding. | 
| --media-dialog-opacity | 1 | opacityof dialog when showing. | 
| --media-dialog-hidden-opacity | 0 | opacityof dialog when hiding. | 
| --media-dialog-transform-in | translateY(0) scale(1) | transformof dialog when showing. | 
| --media-dialog-transform-out | translateY(2px) scale(.99) | transformof dialog when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
media-container
Section titled media-container| Name | Default | Description | 
|---|---|---|
| --media-background-color | #000 | background-colorof container. | 
| --media-slot-display | none | displayof the media slot (default none for [audio] usage). | 
media-control-bar (docs)
Section titled media-control-bar (docs)| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text and icon. | 
| --media-secondary-color | Default color of button background. | |
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof button text. | 
| --media-control-bar-display | inline-flex | displayproperty of control bar. | 
| --media-control-display | var(--media-control-bar-display, inline-flex) | displayproperty of control. | 
media-controller (docs)
Section titled media-controller (docs)| Name | Default | Description | 
|---|---|---|
| --media-background-color | #000 | background-colorof container. | 
| --media-slot-display | none | displayof the media slot (default none for [audio] usage). | 
media-gesture-receiver
Section titled media-gesture-receiver| Name | Default | Description | 
|---|---|---|
| --media-gesture-receiver-display | inline-block | displayproperty of gesture receiver. | 
| --media-control-display | var(--media-gesture-receiver-display, inline-block) | displayproperty of control. | 
media-poster-image (docs)
Section titled media-poster-image (docs)| Name | Default | Description | 
|---|---|---|
| --media-poster-image-display | inline-block | displayproperty of poster image. | 
| --media-poster-image-background-position | var(--media-object-position, center) | background-positionof poster image. | 
| --media-poster-image-background-size | var(--media-object-fit, contain) | background-sizeof poster image. | 
| --media-object-fit | contain | object-fitof poster image. | 
| --media-object-position | center | object-positionof poster image. | 
media-preview-thumbnail (docs)
Section titled media-preview-thumbnail (docs)| Name | Default | Description | 
|---|---|---|
| --media-preview-thumbnail-display | inline-block | displayproperty of display. | 
| --media-control-display | inline-block | displayproperty of control. | 
media-tooltip
Section titled media-tooltip| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text. | 
| --media-secondary-color | rgba(20, 20, 30, .7) | Default color of tooltip background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof tooltip text. | 
| --media-font | var(--media-font-weight, 400) var(--media-font-size, 13px) / var(--media-text-content-height, var(--media-control-height, 18px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | 400 | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 13px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 18px) | line-heightof button text. | 
| --media-tooltip-border | none | 'border' of tooltip | 
| --media-tooltip-background-color | var(--media-secondary-color, rgba(20, 20, 30, .7)) | Background color of tooltip and arrow, unless individually overidden | 
| --media-tooltip-background | var(--_tooltip-background-color) | backgroundof tooltip, ignoring the arrow | 
| --media-tooltip-display | inline-flex | displayof tooltip | 
| --media-tooltip-z-index | 1 | z-indexof tooltip | 
| --media-tooltip-padding | .35em .7em | paddingof tooltip | 
| --media-tooltip-border-radius | 5px | border-radiusof tooltip | 
| --media-tooltip-filter | drop-shadow(0 0 4px rgba(0, 0, 0, .2)) | filterproperty of tooltip, for drop-shadow | 
| --media-tooltip-white-space | nowrap | white-spaceproperty of tooltip | 
| --media-tooltip-arrow-display | block | displayproperty of tooltip arrow | 
| --media-tooltip-arrow-width | 12px | Arrow width | 
| --media-tooltip-arrow-height | 5px | Arrow height | 
| --media-tooltip-arrow-color | var(--_tooltip-background-color) | Arrow color | 
media-audio-track-menu (docs)
Section titled media-audio-track-menu (docs)| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. | 
media-captions-menu (docs)
Section titled media-captions-menu (docs)| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. | 
media-chrome-menu-item
Section titled media-chrome-menu-item| Name | Default | Description | 
|---|---|---|
| --media-menu-item-opacity | 1 | opacityof menu-item content. | 
| --media-menu-item-transition | background .15s linear, opacity .2s ease-in-out | transitionof menu-item. | 
| --media-menu-item-checked-background | backgroundof checked menu-item. | |
| --media-menu-item-outline | 0 | outlinemenu-item. | 
| --media-menu-item-outline-offset | -1px | outline-offsetof menu-item. | 
| --media-menu-item-hover-background | rgb(92 92 102 / .5) | backgroundof hovered menu-item. | 
| --media-menu-item-hover-outline | outlineof hovered menu-item. | |
| --media-menu-item-hover-outline-offset | var(--media-menu-item-outline-offset, -1px) | outline-offsetof hovered menu-item. | 
| --media-menu-item-focus-shadow | inset 0 0 0 2px rgb(27 127 204 / .9) | box-shadowof the :focus-visible state. | 
| --media-menu-item-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-description-max-width | 100px | max-widthof description. | 
| --media-menu-item-checked-indicator-display | inline-block | displayof checked indicator. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | heightof icon. | |
| --media-menu-item-indicator-fill | var(--media-icon-color, var(--media-primary-color, rgb(238 238 238))) | fillcolor of indicator icon. | 
| --media-menu-item-indicator-height | 1.25em | heightof menu-item indicator. | 
media-chrome-menu
Section titled media-chrome-menu| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. | 
media-playback-rate-menu (docs)
Section titled media-playback-rate-menu (docs)| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. | 
media-rendition-menu (docs)
Section titled media-rendition-menu (docs)| Name | Default | Description | 
|---|---|---|
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. | 
media-settings-menu-item
Section titled media-settings-menu-item| Name | Default | Description | 
|---|---|---|
| --media-menu-item-opacity | 1 | opacityof menu-item content. | 
| --media-menu-item-transition | background .15s linear, opacity .2s ease-in-out | transitionof menu-item. | 
| --media-menu-item-checked-background | backgroundof checked menu-item. | |
| --media-menu-item-outline | 0 | outlinemenu-item. | 
| --media-menu-item-outline-offset | -1px | outline-offsetof menu-item. | 
| --media-menu-item-hover-background | rgb(92 92 102 / .5) | backgroundof hovered menu-item. | 
| --media-menu-item-hover-outline | outlineof hovered menu-item. | |
| --media-menu-item-hover-outline-offset | var(--media-menu-item-outline-offset, -1px) | outline-offsetof hovered menu-item. | 
| --media-menu-item-focus-shadow | inset 0 0 0 2px rgb(27 127 204 / .9) | box-shadowof the :focus-visible state. | 
| --media-menu-item-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-description-max-width | 100px | max-widthof description. | 
| --media-menu-item-checked-indicator-display | inline-block | displayof checked indicator. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | heightof icon. | |
| --media-menu-item-indicator-fill | var(--media-icon-color, var(--media-primary-color, rgb(238 238 238))) | fillcolor of indicator icon. | 
| --media-menu-item-indicator-height | 1.25em | heightof menu-item indicator. | 
media-settings-menu (docs)
Section titled media-settings-menu (docs)| Name | Default | Description | 
|---|---|---|
| --media-settings-menu-justify-content | justify-contentof the menu. | |
| --media-primary-color | rgb(238 238 238) | Default color of text / icon. | 
| --media-secondary-color | rgb(20 20 30 / .8) | Default color of background. | 
| --media-text-color | var(--media-primary-color, rgb(238 238 238)) | colorof text. | 
| --media-control-background | var(--media-secondary-color, rgb(20 20 30 / .8)) | backgroundof control. | 
| --media-menu-display | inline-flex | displayof menu. | 
| --media-menu-layout | Set to rowfor a horizontal menu design. | |
| --media-menu-flex-direction | row | flex-directionof menu. | 
| --media-menu-gap | .25em | gapbetween menu items. | 
| --media-menu-background | var(--media-control-background, var(--media-secondary-color, rgb(20 20 30 / .8))) | backgroundof menu. | 
| --media-menu-border-radius | border-radiusof menu. | |
| --media-menu-border | none | borderof menu. | 
| --media-menu-transition-in | visibility 0s, opacity .2s ease-out, transform .15s ease-out, left .2s ease-in-out, min-width .2s ease-in-out, min-height .2s ease-in-out | transitionof menu when showing. | 
| --media-menu-transition-out | visibility .15s ease-in, opacity .15s ease-in, transform .15s ease-in | transitionof menu when hiding. | 
| --media-menu-visibility | visible | visibilityof menu when showing. | 
| --media-menu-hidden-visibility | hidden | visibilityof menu when hiding. | 
| --media-menu-max-height | var(--_menu-max-height, 300px) | max-heightof menu. | 
| --media-menu-hidden-max-height | var(--media-menu-max-height, var(--_menu-max-height, 300px)) | max-heightof menu when hiding. | 
| --media-menu-opacity | 1 | opacityof menu when showing. | 
| --media-menu-hidden-opacity | 0 | opacityof menu when hiding. | 
| --media-menu-transform-in | translateY(0) scale(1) | transformof menu when showing. | 
| --media-menu-transform-out | translateY(2px) scale(.99) | transformof menu when hiding. | 
| --media-font | var(--media-font-weight, normal) var(--media-font-size, 14px) / var(--media-text-content-height, var(--media-control-height, 24px)) var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif) | fontshorthand property. | 
| --media-font-weight | normal | font-weightproperty. | 
| --media-font-family | helvetica neue, segoe ui, roboto, arial, sans-serif | font-familyproperty. | 
| --media-font-size | 14px | font-sizeproperty. | 
| --media-text-content-height | var(--media-control-height, 24px) | line-heightof text. | 
| --media-icon-color | var(--media-primary-color, rgb(238 238 238)) | fillcolor of icon. | 
| --media-menu-icon-height | var(--media-control-height, 24px) | heightof icon. | 
| --media-menu-item-checked-indicator-display | none | displayof check indicator. | 
| --media-menu-item-checked-background | rgb(255 255 255 / .2) | backgroundof checked menu item. | 
| --media-menu-item-max-width | max-widthof menu item text. |