Firefox (-moz-) vendor-prefixed CSS extensions
Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
A vendor prefix is used to indicate that a feature is specific to a certain browser. Firefox supports several extensions to CSS, which are prefixed with -moz-.
-moz-prefixed properties without standard equivalents
Note: These extensions are mostly experimental or deprecated but kept for backward compatibility. You should avoid using them on production websites.
-
-moz-float-edgeDeprecated -
-moz-force-broken-image-iconDeprecated: Usealttext instead. -moz-orient-
-moz-osx-font-smoothing: A similarfont-smoothequivalent exists. -
-moz-user-focusDeprecated -
-moz-user-inputDeprecated -
-moz-user-modify: A non-prefixeduser-modifyequivalent exists, but the HTMLcontenteditableattribute is recommended instead.
-moz-prefixed properties with standard equivalents
The following properties were implemented first using the -moz- vendor prefix, but are now supported in Firefox using the standard (non-prefixed) syntax. Support for the prefixed version is typically dropped eventually, so use the standard property instead.
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-appearance: The prefixed version ofappearanceis still supported.
B
-
-moz-backface-visibilityDeprecated: Prefixed version still supported. -
-moz-background-clipDeprecated: Not supported; usebackground-clip. -
-moz-background-originDeprecated: Not supported; usebackground-origin. -
-moz-box-alignDeprecated: Use CSS flexbox withalign-items. -
-moz-background-inline-policyDeprecated: Not supported; usebox-decoration-break. -
-moz-box-directionDeprecated: Use CSS flexbox withflex-direction. -
-moz-box-flexDeprecated: Use CSS flexbox withflex-grow. -
-moz-box-ordinal-groupDeprecated: Use CSS flexbox withorder. -
-moz-box-orientDeprecated: Use CSS flexbox withflex-direction. -
-moz-box-packDeprecated: Use CSS flexbox withjustify-content. -
-moz-background-sizeDeprecated: Not supported; usebackground-size. -
-moz-border-endDeprecated: Not supported; useborder-inline-end. -
-moz-border-end-colorDeprecated: Not supported; useborder-inline-end-color. -
-moz-border-end-styleDeprecated: Not supported; useborder-inline-end-style. -
-moz-border-end-widthDeprecated: Not supported; useborder-inline-end-width. -
-moz-border-imageDeprecated: Not supported; useborder-inline-end-width. -
-moz-border-startDeprecated: Not supported; useborder-inline-start. -
-moz-border-start-colorDeprecated: Not supported; useborder-inline-start-color. -
-moz-border-start-styleDeprecated: Not supported; useborder-inline-start-style. -
-moz-border-start-widthDeprecated: Not supported; useborder-inline-start-width. -
-moz-box-sizingDeprecated: Prefixed version still supported.
C
-
-moz-column-countDeprecated: Not supported; usecolumn-count. -
-moz-column-fillDeprecated: Not supported; usecolumn-fill. -
-moz-column-gapDeprecated: Not supported; usecolumn-gap. -
-moz-column-widthDeprecated: Not supported; usecolumn-width. -
-moz-column-ruleDeprecated: Not supported; usecolumn-rule. -
-moz-column-rule-widthDeprecated: Not supported; usecolumn-rule-width. -
-moz-column-rule-styleDeprecated: Not supported; usecolumn-rule-style. -
-moz-column-rule-colorDeprecated: Not supported; usecolumn-rule-color.
F–M
-
-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: Not supported; usemargin-inline-end. -
-moz-margin-startDeprecated: Not supported; usemargin-inline-start.
O-P
-
-moz-opacityDeprecated: Not supported; useopacity. -
-moz-outlineDeprecated: Not supported; useoutline. -
-moz-outline-colorDeprecated: Not supported; useoutline-color. -
-moz-outline-offsetDeprecated: Not supported; useoutline-offset. -
-moz-outline-styleDeprecated: Not supported; useoutline-style. -
-moz-outline-widthDeprecated: Not supported; useoutline-width. -
-moz-padding-endDeprecated: Not supported; usepadding-inline-end. -
-moz-padding-startDeprecated: Not supported; usepadding-inline-start. -
-moz-perspectiveDeprecated: Prefixed version still supported. -
-moz-perspective-originDeprecated: Prefixed version still supported.
T–Z
-
-moz-tab-size: Usetab-size -
-moz-text-align-lastDeprecated: Not supported; usetext-align-last. -
-moz-text-decoration-colorDeprecated: Not supported; usetext-decoration-color. -
-moz-text-decoration-lineDeprecated: Not supported; usetext-decoration-line. -
-moz-text-decoration-styleDeprecated: Not supported; usetext-decoration-style. -
-moz-text-size-adjust: Seetext-size-adjustExperimental. -
-moz-transformDeprecated: Prefixed version still supported. -
-moz-transform-originDeprecated: Prefixed version still supported. -
-moz-transform-styleDeprecated: Prefixed version still supported. -
-moz-transitionDeprecated: Not supported; usetransition. -
-moz-transition-delayDeprecated: Not supported; usetransition-delay. -
-moz-transition-durationDeprecated: Not supported; usetransition-duration. -
-moz-transition-propertyDeprecated: Not supported; usetransition-property. -
-moz-transition-timing-functionDeprecated: Not supported; usetransition-timing-function. -
-moz-user-select: Useuser-select.
-moz-prefixed property values
Global values
-
-moz-initial: Seeinitial.
background-image
Property: background-image
-
-moz-linear-gradientDeprecated: Uselinear-gradient(). -
-moz-radial-gradientDeprecated: Useradial-gradient(). -
-moz-elementDeprecated: Useelement(). -
-moz-image-rect()Deprecated
border-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-buttonhoverface-moz-buttonhovertext-moz-default-background-color-moz-default-color-moz-cellhighlight-moz-cellhighlighttext-moz-field-moz-fieldtext-moz-dialog-moz-dialogtext-moz-menuhover-moz-menuhovertext
empty-cells
Property: empty-cells
-
-moz-show-background(default value in quirks mode)
font-family
Property: font-family
-moz-fixed
image-rendering
Property: image-rendering
-
-moz-crisp-edgesDeprecated: Usecrisp-edges.
<length>
Type: <length>
-
-moz-calcDeprecated: Usecalc().
list-style-type
Property: list-style-type
Several vendor-prefixed values for list-style-type are now supported as standard values without a -moz- prefix, except for those in the following list. See Browser Compatibility for details.
-moz-ethiopic-halehame-moz-ethiopic-halehame-am-moz-ethiopic-halehame-ti-er-moz-ethiopic-halehame-ti-et-moz-hangul-moz-hangul-consonant-moz-urdu
text-align
Property: text-align
-
-moz-centerDeprecated: Usetext-align: center. -
-moz-leftDeprecated: Usetext-align: left. -
-moz-rightDeprecated: Usetext-align: right.
width, min-width, and max-width
Properties: width, min-width, and max-width
-
-moz-min-content: Seemin-content. -
-moz-fit-content: Seefit-content. -
-moz-max-content: Seemax-content. -
-moz-available: Seestretch.
Pseudo-classes
-
:-moz-anyDeprecated: Use:is(). -
:-moz-any-linkDeprecated: Use:any-link. -
:-moz-brokenDeprecated :-moz-drag-over:-moz-first-node-
:-moz-full-screenDeprecated: Not supported; use:fullscreen. -
:-moz-full-screen-ancestorDeprecated: Not supported; use:fullscreen. :-moz-handler-blocked:-moz-handler-crashed:-moz-handler-disabled:-moz-last-node:-moz-loading:-moz-locale-dir(ltr):-moz-locale-dir(rtl):-moz-native-anonymous-
:-moz-placeholderDeprecated: Use:placeholder-shown. :-moz-only-whitespace-
:-moz-read-onlyDeprecated: Use:read-only. -
:-moz-read-writeDeprecated: Use:read-write. -
:-moz-submit-invalid: See:invalid. :-moz-suppressed-
:-moz-ui-invalidDeprecated: Use:user-invalid. -
:-moz-ui-validDeprecated: Use:user-valid. :-moz-user-disabled:-moz-window-inactive
Pseudo-elements
::-moz-canvas::-moz-cell-content::-moz-color-swatch::-moz-focus-inner::-moz-focus-outer::-moz-inline-table::-moz-list-bullet::-moz-list-number::-moz-meter-bar::-moz-pagebreak::-moz-pagecontent-
::-moz-placeholderDeprecated: Use::placeholder. ::-moz-progress-bar::-moz-range-progress::-moz-range-thumb::-moz-range-track::-moz-scrolled-canvas::-moz-scrolled-content-
::-moz-selectionDeprecated: Use::selection. ::-moz-svg-foreign-content::-moz-table::-moz-table-cell::-moz-table-column::-moz-table-column-group::-moz-table-outer::-moz-table-row::-moz-table-row-group::-moz-viewport::-moz-viewport-scroll
At-rules
Media features
-
-moz-device-pixel-ratioDeprecated -moz-platform-moz-windows-glass
Other
-
-moz-alt-content: See Firefox bug 11011
See also
- WebKit (-webkit-) vendor-prefixed CSS extensions
- Vendor Prefix glossary entry
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_extensions