Firefox (-moz-) vendor-prefixed CSS extensions
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 : Use- alttext instead.
- -moz-orient
- -moz-osx-font-smoothing: A similar- font-smoothequivalent exists.
- -moz-user-focusDeprecated
- -moz-user-inputDeprecated
- -moz-user-modify: A non-prefixed- user-modifyequivalent exists, but the HTML- contenteditableattribute 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 of- appearanceis still supported.
B
- -moz-backface-visibilityDeprecated : Prefixed version still supported.
- -moz-background-clipDeprecated : Not supported; use- background-clip.
- -moz-background-originDeprecated : Not supported; use- background-origin.
- -moz-box-alignDeprecated : Use CSS flexbox with- align-items.
- -moz-background-inline-policyDeprecated : Not supported; use- box-decoration-break.
- -moz-box-directionDeprecated : Use CSS flexbox with- flex-direction.
- -moz-box-flexDeprecated : Use CSS flexbox with- flex-grow.
- -moz-box-ordinal-groupDeprecated : Use CSS flexbox with- order.
- -moz-box-orientDeprecated : Use CSS flexbox with- flex-direction.
- -moz-box-packDeprecated : Use CSS flexbox with- justify-content.
- -moz-background-sizeDeprecated : Not supported; use- background-size.
- -moz-border-endDeprecated : Not supported; use- border-inline-end.
- -moz-border-end-colorDeprecated : Not supported; use- border-inline-end-color.
- -moz-border-end-styleDeprecated : Not supported; use- border-inline-end-style.
- -moz-border-end-widthDeprecated : Not supported; use- border-inline-end-width.
- -moz-border-imageDeprecated : Not supported; use- border-inline-end-width.
- -moz-border-startDeprecated : Not supported; use- border-inline-start.
- -moz-border-start-colorDeprecated : Not supported; use- border-inline-start-color.
- -moz-border-start-styleDeprecated : Not supported; use- border-inline-start-style.
- -moz-border-start-widthDeprecated : Not supported; use- border-inline-start-width.
- -moz-box-sizingDeprecated : Prefixed version still supported.
C
- -moz-column-countDeprecated : Not supported; use- column-count.
- -moz-column-fillDeprecated : Not supported; use- column-fill.
- -moz-column-gapDeprecated : Not supported; use- column-gap.
- -moz-column-widthDeprecated : Not supported; use- column-width.
- -moz-column-ruleDeprecated : Not supported; use- column-rule.
- -moz-column-rule-widthDeprecated : Not supported; use- column-rule-width.
- -moz-column-rule-styleDeprecated : Not supported; use- column-rule-style.
- -moz-column-rule-colorDeprecated : Not supported; use- column-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; use- margin-inline-end.
- -moz-margin-startDeprecated : Not supported; use- margin-inline-start.
O-P
- -moz-opacityDeprecated : Not supported; use- opacity.
- -moz-outlineDeprecated : Not supported; use- outline.
- -moz-outline-colorDeprecated : Not supported; use- outline-color.
- -moz-outline-offsetDeprecated : Not supported; use- outline-offset.
- -moz-outline-styleDeprecated : Not supported; use- outline-style.
- -moz-outline-widthDeprecated : Not supported; use- outline-width.
- -moz-padding-endDeprecated : Not supported; use- padding-inline-end.
- -moz-padding-startDeprecated : Not supported; use- padding-inline-start.
- -moz-perspectiveDeprecated : Prefixed version still supported.
- -moz-perspective-originDeprecated : Prefixed version still supported.
T–Z
- -moz-tab-size: Use- tab-size
- -moz-text-align-lastDeprecated : Not supported; use- text-align-last.
- -moz-text-decoration-colorDeprecated : Not supported; use- text-decoration-color.
- -moz-text-decoration-lineDeprecated : Not supported; use- text-decoration-line.
- -moz-text-decoration-styleDeprecated : Not supported; use- text-decoration-style.
- -moz-text-size-adjust: See- 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 : Not supported; use- transition.
- -moz-transition-delayDeprecated : Not supported; use- transition-delay.
- -moz-transition-durationDeprecated : Not supported; use- transition-duration.
- -moz-transition-propertyDeprecated : Not supported; use- transition-property.
- -moz-transition-timing-functionDeprecated : Not supported; use- transition-timing-function.
- -moz-user-select: Use- user-select.
-moz-prefixed property values
>Global values
- -moz-initial: See- initial.
background-image
Property: background-image
- -moz-linear-gradientDeprecated : Use- linear-gradient().
- -moz-radial-gradientDeprecated : Use- radial-gradient().
- -moz-elementDeprecated : Use- element().
- -moz-image-rect()Deprecated
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-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 : Use- crisp-edges.
<length>
Type: <length>
- -moz-calcDeprecated : Use- calc().
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 : Use- text-align: center.
- -moz-leftDeprecated : Use- text-align: left.
- -moz-rightDeprecated : Use- text-align: right.
width, min-width, and max-width
Properties: width, min-width, and max-width
- -moz-min-content: See- min-content.
- -moz-fit-content: See- fit-content.
- -moz-max-content: See- max-content.
- -moz-available: See- stretch.
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