Mozilla vendor-prefixed CSS extensions
Firefox supports 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-standard-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 supported)-moz-animation-delayDeprecated (Prefixed version still supported)-moz-animation-directionDeprecated (Prefixed version still supported)-moz-animation-durationDeprecated (Prefixed version still supported)-moz-animation-fill-modeDeprecated (Prefixed version still supported)-moz-animation-iteration-countDeprecated (Prefixed version still supported)-moz-animation-nameDeprecated (Prefixed version still supported)-moz-animation-play-stateDeprecated (Prefixed version still supported)-moz-animation-timing-functionDeprecated (Prefixed version still supported)-moz-appearanceExperimental
B
-moz-backface-visibilityDeprecated (Prefixed version still supported)-moz-background-clipDeprecated-moz-background-originDeprecated-moz-background-inline-policyDeprecated (No longer supported; use the standardbox-decoration-break)-moz-background-sizeDeprecated-moz-border-endDeprecated (No longer supported; use the standardborder-inline-end)-moz-border-end-colorDeprecated (No longer supported; use the standardborder-inline-end-color)-moz-border-end-styleDeprecated (No longer supported; use the standardborder-inline-end-style)-moz-border-end-widthDeprecated (No longer supported; use the standardborder-inline-end-width)-moz-border-imageDeprecated-moz-border-startDeprecated (No longer supported; use the standardborder-inline-start)-moz-border-start-colorDeprecated (No longer supported; use the standardborder-inline-start-color)-moz-border-start-styleDeprecated (No longer supported; use the standardborder-inline-start-style)-moz-border-start-widthDeprecated (No longer supported; use the standardborder-inline-start-width)-moz-box-sizingDeprecated (Prefixed version still supported)
C
clip-pathExperimental (Applying to more than SVG)-moz-column-countDeprecated (Prefixed version still supported)-moz-column-fillDeprecated (Prefixed version still supported)-moz-column-gapDeprecated (Prefixed version still supported)-moz-column-widthDeprecated (Prefixed version still supported)-moz-column-ruleDeprecated (Prefixed version still supported)-moz-column-rule-widthDeprecated (Prefixed version still supported)-moz-column-rule-styleDeprecated (Prefixed version still supported)-moz-column-rule-colorDeprecated (Prefixed version still supported)
F–M
filterExperimental (Applying to more than SVG)-moz-font-feature-settingsDeprecated (Prefixed version still supported)-moz-font-language-overrideDeprecated (Prefixed version still supported)-moz-hyphensDeprecated (Prefixed version still supported)-moz-margin-endDeprecated (No longer supported; use the standardmargin-inline-end)-moz-margin-startDeprecated (No longer supported; use the standardmargin-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 (No longer supported; use the standardpadding-inline-end)-moz-padding-startDeprecated (No longer supported; use the standardpadding-inline-start)-moz-perspectiveDeprecated (Prefixed version still supported)-moz-perspective-originDeprecated (Prefixed version still supported)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 supported)-moz-transform-originDeprecated (Prefixed version still supported)-moz-transform-styleDeprecated (Prefixed version still supported)-moz-transitionDeprecated (Prefixed version still supported)-moz-transition-delayDeprecated (Prefixed version still supported)-moz-transition-durationDeprecated (Prefixed version still supported)-moz-transition-propertyDeprecated (Prefixed version still supported)-moz-transition-timing-functionDeprecated (Prefixed version still supported)-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
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
At-rules
Media features
Other
See also
- Vendor Prefix glossary entry
- WebKit vendor-prefixed CSS extensions