Mozilla CSS extensions
Firefox support a number of Mozilla extensions to CSS, including properties, values, pseudo-elements and pseudo-classes, at-rules, and media queries. These extensions are prefixed with -moz-.
Note: These extensions are mostly experimental or deprecated but kept for backward compatibility. Avoid using them on production websites.
Mozilla-only properties
-moz-box-alignDeprecated-moz-box-directionDeprecated-moz-box-flexDeprecated-moz-box-ordinal-groupDeprecated-moz-box-orientDeprecated-moz-box-packDeprecated-moz-float-edgeDeprecated-moz-force-broken-image-iconDeprecated-moz-image-regionDeprecated-moz-orientNon-standard-moz-osx-font-smoothingNon-standardoverflow-clip-boxExperimental (To use inside the UA spreadsheet)overflow-clip-box-blockExperimental (To use inside the UA spreadsheet)overflow-clip-box-inlineExperimental (To use inside the UA spreadsheet)-moz-user-focusNon-standard-moz-user-inputNon-standard-moz-user-modifyNon-standard
Formerly proprietary properties that are now standard
Note: To maximize the compatibility of your CSS, you should use the unprefixed standard properties instead of the prefixed ones listed below. Once a given property is standardized and implemented without the prefix, the prefixed version is typically dropped after a while.
A
-moz-animationDeprecated [Prefixed version still accepted]-moz-animation-delayDeprecated [Prefixed version still accepted]-moz-animation-directionDeprecated [Prefixed version still accepted]-moz-animation-durationDeprecated [Prefixed version still accepted]-moz-animation-fill-modeDeprecated [Prefixed version still accepted]-moz-animation-iteration-countDeprecated [Prefixed version still accepted]-moz-animation-nameDeprecated [Prefixed version still accepted]-moz-animation-play-stateDeprecated [Prefixed version still accepted]-moz-animation-timing-functionDeprecated [Prefixed version still accepted]-moz-appearanceExperimental
B
-moz-backface-visibilityDeprecated [Prefixed version still accepted]-moz-background-clipDeprecated-moz-background-originDeprecated-moz-background-inline-policyDeprecated [Superseded by the standard versionbox-decoration-break]-moz-background-sizeDeprecated-moz-border-endDeprecated [Superseded by the standard versionborder-inline-end]-moz-border-end-colorDeprecated [Superseded by the standard versionborder-inline-end-color]-moz-border-end-styleDeprecated [Superseded by the standard versionborder-inline-end-style]-moz-border-end-widthDeprecated [Superseded by the standard versionborder-inline-end-width]-moz-border-imageDeprecated-moz-border-startDeprecated [Superseded by the standard versionborder-inline-start]-moz-border-start-colorDeprecated [Superseded by the standard versionborder-inline-start-color]-moz-border-start-styleDeprecated [Superseded by the standard versionborder-inline-start-style]-moz-border-start-widthDeprecated [Superseded by the standard versionborder-inline-start-width]-moz-box-sizingDeprecated [Prefixed version still accepted]
C
clip-pathExperimental [Applying to more than SVG]-moz-column-countDeprecated [Prefixed version still accepted]-moz-column-fillDeprecated [Prefixed version still accepted]-moz-column-gapDeprecated [Prefixed version still accepted]-moz-column-widthDeprecated [Prefixed version still accepted]-moz-column-ruleDeprecated [Prefixed version still accepted]-moz-column-rule-widthDeprecated [Prefixed version still accepted]-moz-column-rule-styleDeprecated [Prefixed version still accepted]-moz-column-rule-colorDeprecated [Prefixed version still accepted]
F–M
filterExperimental [Applying to more than SVG]-moz-font-feature-settingsDeprecated [Prefixed version still accepted]-moz-font-language-overrideDeprecated [Prefixed version still accepted]-moz-hyphensDeprecated [Prefixed version still accepted]-moz-margin-endDeprecated [Superseded by the standard versionmargin-inline-end]-moz-margin-startDeprecated [Superseded by the standard versionmargin-inline-start]maskExperimental [Applying to more than SVG]
O
-moz-opacityDeprecated-moz-outlineDeprecated-moz-outline-colorDeprecated-moz-outline-offsetDeprecated-moz-outline-styleDeprecated-moz-outline-widthDeprecated
P
-moz-padding-endDeprecated [Superseded by the standard versionpadding-inline-end]-moz-padding-startDeprecated [Superseded by the standard versionpadding-inline-start]-moz-perspectiveDeprecated [Prefixed version still accepted]-moz-perspective-originDeprecated [Prefixed version still accepted]pointer-eventsExperimental [Applying to more than SVG]
T–U
-moz-tab-sizeExperimental-moz-text-align-lastDeprecated-moz-text-decoration-colorDeprecated-moz-text-decoration-lineDeprecated-moz-text-decoration-styleDeprecated-moz-text-size-adjustExperimental-moz-transformDeprecated [Prefixed version still accepted]-moz-transform-originDeprecated [Prefixed version still accepted]-moz-transform-styleDeprecated [Prefixed version still accepted]-moz-transitionDeprecated [Prefixed version still accepted]-moz-transition-delayDeprecated [Prefixed version still accepted]-moz-transition-durationDeprecated [Prefixed version still accepted]-moz-transition-propertyDeprecated [Prefixed version still accepted]-moz-transition-timing-functionDeprecated [Prefixed version still accepted]-moz-user-selectExperimental
Values
Global values
-moz-appearance
Property: -moz-appearance
buttonbutton-arrow-downbutton-arrow-nextbutton-arrow-previousbutton-arrow-upbutton-bevelcheckboxcheckbox-containercheckbox-labelcheckmenuitemdialoggroupboxlistboxmenuarrowmenucheckboxmenuimagemenuitemmenuitemtextmenulistmenulist-buttonmenulist-textmenulist-textfieldmenupopupmenuradiomenuseparator-moz-mac-unified-toolbar-moz-win-borderless-glass-moz-win-browsertabbar-toolbox-moz-win-communications-toolbox-moz-win-glass-moz-win-media-toolbox-moz-window-button-box-moz-window-button-box-maximized-moz-window-button-close-moz-window-button-maximize-moz-window-button-minimize-moz-window-button-restore-moz-window-titlebar-moz-window-titlebar-maximizedprogressbarprogresschunkradioradio-containerradio-labelradiomenuitemresizerresizerpanelscale-horizontalscalethumb-horizontalscalethumb-verticalscale-verticalscrollbarbutton-downscrollbarbutton-leftscrollbarbutton-rightscrollbarbutton-upscrollbar-smallscrollbarthumb-horizontalscrollbarthumb-verticalscrollbartrack-horizontalscrollbartrack-verticalseparatorspinnerspinner-downbuttonspinner-textfieldspinner-upbuttonstatusbarstatusbarpaneltabtabpanelstab-scroll-arrow-backtab-scroll-arrow-forwardtextfieldtextfield-multilinetoolbartoolbarbutton-dropdowntoolboxtooltiptreeheadercelltreeheadersortarrowtreeitemtreetwistytreetwistyopentreeviewwindow
background-image
Property: background-image
Gradients
-moz-linear-gradientDeprecated-moz-radial-gradientDeprecated
Elements
Sub-images
border-color
Property: border-color
-moz-use-text-colorDeprecated (removed in Firefox bug 1306214); usecurrentcolorinstead.
order-style and outline-style
Properties: border-style and outline-style
-moz-bg-insetDeprecated-moz-bg-outsetDeprecated-moz-bg-solidDeprecated
<color> keywords
Type: <color>
-moz-activehyperlinktext-moz-hyperlinktext-moz-visitedhyperlinktext-moz-buttondefault-moz-buttonhoverface-moz-buttonhovertext-moz-default-background-color-moz-default-color-moz-cellhighlight-moz-cellhighlighttext-moz-field-moz-fieldtext-moz-dialog-moz-dialogtext-moz-dragtargetzone-moz-mac-accentdarkestshadow-moz-mac-accentdarkshadow-moz-mac-accentface-moz-mac-accentlightesthighlight-moz-mac-accentlightshadow-moz-mac-accentregularhighlight-moz-mac-accentregularshadow-moz-mac-chrome-active-moz-mac-chrome-inactive-moz-mac-focusring-moz-mac-menuselect-moz-mac-menushadow-moz-mac-menutextselect-moz-menuhover-moz-menuhovertext-moz-win-communicationstext-moz-win-mediatext-moz-nativehyperlinktext
display
Property: display
-moz-boxDeprecated-moz-inline-blockDeprecated-moz-inline-boxDeprecated-moz-inline-gridDeprecated-moz-inline-stackDeprecated-moz-inline-tableDeprecated-moz-gridDeprecated-moz-grid-groupDeprecated-moz-grid-lineDeprecated-moz-groupboxDeprecated-moz-deckDeprecated-moz-popupDeprecated-moz-stackDeprecated-moz-markerDeprecated
empty-cells
Property: empty-cells
-moz-show-background(default value in quirks mode)
font
Property: font
-moz-button-moz-info-moz-desktop-moz-dialog(also a color)-moz-document-moz-workspace-moz-window-moz-list-moz-pull-down-menu-moz-field(also a color)
font-family
Property: font-family
-moz-fixed
image-rendering
Property: image-rendering
<length>
list-style-type
Property: list-style-type
-moz-arabic-indic-moz-bengali-moz-cjk-earthly-branch-moz-cjk-heavenly-stem-moz-devanagari-moz-ethiopic-halehame-moz-ethiopic-halehame-am-moz-ethiopic-halehame-ti-er-moz-ethiopic-halehame-ti-et-moz-ethiopic-numeric-moz-gujarati-moz-gurmukhi-moz-hangul-moz-hangul-consonant-moz-japanese-formal-moz-japanese-informal-moz-kannada-moz-khmer-moz-lao-moz-malayalam-moz-myanmar-moz-oriya-moz-persian-moz-simp-chinese-formal-moz-simp-chinese-informal-moz-tamil-moz-telugu-moz-thai-moz-trad-chinese-formal-moz-trad-chinese-informal-moz-urdu
overflow
Property: overflow
-moz-scrollbars-noneDeprecated-moz-scrollbars-horizontalDeprecated-moz-scrollbars-verticalDeprecated-moz-hidden-unscrollable
text-align
Property: text-align
-moz-center-moz-left-moz-right
text-decoration
Property: text-decoration
-moz-anchor-decoration
-moz-user-select
Property: -moz-user-select
-moz-all-moz-none
width, min-width, and max-width
Pseudo-elements and pseudo-classes
A – D
F – I
L
N – R
S
T
U – X
:-moz-ui-invalidDeprecated:-moz-ui-validDeprecated:-moz-user-disabled::-moz-viewport::-moz-viewport-scroll:-moz-window-inactive