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-align
Deprecated-moz-box-direction
Deprecated-moz-box-flex
Deprecated-moz-box-ordinal-group
Deprecated-moz-box-orient
Deprecated-moz-box-pack
Deprecated-moz-float-edge
Deprecated-moz-force-broken-image-icon
Deprecated-moz-image-region
Deprecated-moz-orient
Non-standard-moz-osx-font-smoothing
Non-standard-moz-user-focus
Non-standard-moz-user-input
Non-standard-moz-user-modify
Non-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-animation
Deprecated (Prefixed version still supported)-moz-animation-delay
Deprecated (Prefixed version still supported)-moz-animation-direction
Deprecated (Prefixed version still supported)-moz-animation-duration
Deprecated (Prefixed version still supported)-moz-animation-fill-mode
Deprecated (Prefixed version still supported)-moz-animation-iteration-count
Deprecated (Prefixed version still supported)-moz-animation-name
Deprecated (Prefixed version still supported)-moz-animation-play-state
Deprecated (Prefixed version still supported)-moz-animation-timing-function
Deprecated (Prefixed version still supported)-moz-appearance
Experimental
B
-moz-backface-visibility
Deprecated (Prefixed version still supported)-moz-background-clip
Deprecated-moz-background-origin
Deprecated-moz-background-inline-policy
Deprecated (No longer supported; use the standardbox-decoration-break
)-moz-background-size
Deprecated-moz-border-end
Deprecated (No longer supported; use the standardborder-inline-end
)-moz-border-end-color
Deprecated (No longer supported; use the standardborder-inline-end-color
)-moz-border-end-style
Deprecated (No longer supported; use the standardborder-inline-end-style
)-moz-border-end-width
Deprecated (No longer supported; use the standardborder-inline-end-width
)-moz-border-image
Deprecated-moz-border-start
Deprecated (No longer supported; use the standardborder-inline-start
)-moz-border-start-color
Deprecated (No longer supported; use the standardborder-inline-start-color
)-moz-border-start-style
Deprecated (No longer supported; use the standardborder-inline-start-style
)-moz-border-start-width
Deprecated (No longer supported; use the standardborder-inline-start-width
)-moz-box-sizing
Deprecated (Prefixed version still supported)
C
clip-path
Experimental (Applying to more than SVG)-moz-column-count
Deprecated (Prefixed version still supported)-moz-column-fill
Deprecated (Prefixed version still supported)-moz-column-gap
Deprecated (Prefixed version still supported)-moz-column-width
Deprecated (Prefixed version still supported)-moz-column-rule
Deprecated (Prefixed version still supported)-moz-column-rule-width
Deprecated (Prefixed version still supported)-moz-column-rule-style
Deprecated (Prefixed version still supported)-moz-column-rule-color
Deprecated (Prefixed version still supported)
F–M
filter
Experimental (Applying to more than SVG)-moz-font-feature-settings
Deprecated (Prefixed version still supported)-moz-font-language-override
Deprecated (Prefixed version still supported)-moz-hyphens
Deprecated (Prefixed version still supported)-moz-margin-end
Deprecated (No longer supported; use the standardmargin-inline-end
)-moz-margin-start
Deprecated (No longer supported; use the standardmargin-inline-start
)mask
Experimental (Applying to more than SVG)
O
-moz-opacity
Deprecated-moz-outline
Deprecated-moz-outline-color
Deprecated-moz-outline-offset
Deprecated-moz-outline-style
Deprecated-moz-outline-width
Deprecated
P
-moz-padding-end
Deprecated (No longer supported; use the standardpadding-inline-end
)-moz-padding-start
Deprecated (No longer supported; use the standardpadding-inline-start
)-moz-perspective
Deprecated (Prefixed version still supported)-moz-perspective-origin
Deprecated (Prefixed version still supported)pointer-events
Experimental (Applying to more than SVG)
T–U
-moz-tab-size
Experimental-moz-text-align-last
Deprecated-moz-text-decoration-color
Deprecated-moz-text-decoration-line
Deprecated-moz-text-decoration-style
Deprecated-moz-text-size-adjust
Experimental-moz-transform
Deprecated (Prefixed version still supported)-moz-transform-origin
Deprecated (Prefixed version still supported)-moz-transform-style
Deprecated (Prefixed version still supported)-moz-transition
Deprecated (Prefixed version still supported)-moz-transition-delay
Deprecated (Prefixed version still supported)-moz-transition-duration
Deprecated (Prefixed version still supported)-moz-transition-property
Deprecated (Prefixed version still supported)-moz-transition-timing-function
Deprecated (Prefixed version still supported)-moz-user-select
Experimental
Values
Global values
-moz-appearance
Property: -moz-appearance
button
button-arrow-down
button-arrow-next
button-arrow-previous
button-arrow-up
button-bevel
checkbox
checkbox-container
checkbox-label
checkmenuitem
dialog
groupbox
listbox
menuarrow
menucheckbox
menuimage
menuitem
menuitemtext
menulist
menulist-button
menulist-text
menulist-textfield
menupopup
menuradio
menuseparator
-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-maximized
progressbar
progresschunk
radio
radio-container
radio-label
radiomenuitem
resizer
resizerpanel
scale-horizontal
scalethumb-horizontal
scalethumb-vertical
scale-vertical
scrollbarbutton-down
scrollbarbutton-left
scrollbarbutton-right
scrollbarbutton-up
scrollbar-small
scrollbarthumb-horizontal
scrollbarthumb-vertical
scrollbartrack-horizontal
scrollbartrack-vertical
separator
spinner
spinner-downbutton
spinner-textfield
spinner-upbutton
statusbar
statusbarpanel
tab
tabpanels
tab-scroll-arrow-back
tab-scroll-arrow-forward
textfield
textfield-multiline
toolbar
toolbarbutton-dropdown
toolbox
tooltip
treeheadercell
treeheadersortarrow
treeitem
treetwisty
treetwistyopen
treeview
window
background-image
Property: background-image
Gradients
-moz-linear-gradient
Deprecated-moz-radial-gradient
Deprecated
Elements
Sub-images
border-color
Property: border-color
-moz-use-text-color
Deprecated (removed in Firefox bug 1306214); usecurrentcolor
instead.
order-style and outline-style
Properties: border-style
and outline-style
-moz-bg-inset
Deprecated-moz-bg-outset
Deprecated-moz-bg-solid
Deprecated
<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-box
Deprecated-moz-inline-block
Deprecated-moz-inline-box
Deprecated-moz-inline-grid
Deprecated-moz-inline-stack
Deprecated-moz-inline-table
Deprecated-moz-grid
Deprecated-moz-grid-group
Deprecated-moz-grid-line
Deprecated-moz-groupbox
Deprecated-moz-deck
Deprecated-moz-popup
Deprecated-moz-stack
Deprecated-moz-marker
Deprecated
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 – M
N – R
S
T
U – X
:-moz-ui-invalid
Deprecated:-moz-ui-valid
Deprecated:-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