--- title: 'appearance (-moz-appearance, -webkit-appearance)' slug: Web/CSS/appearance tags: - Стилизация - кастомные свойства translation_of: Web/CSS/appearance ---
{{CSSRef}}{{SeeCompatTable}}

CSS свойство -moz-appearance используется в Gecko (Firefox) для отображения элемента, используя базовые стили платформы на основе темы операционной системы.

Свойство -webkit-appearance используется в браузерах WebKit-based (например, Safari) и Blink-based (например, Chrome, Opera) для того же эффекта. Заметьте, что Firefox и Edge также поддерживают -webkit-appearance, для обеспечения совместимости.

{{EmbedInteractiveExample("pages/css/appearance.html")}}

Это свойство часто используется в таблицах стилей XUL для разработки пользовательских виджетов в стиле, соответствующем платформе. Оно, также, используется в реализации XBL виджетов, которые поставляются с платформой Mozilla.

Примечание о совместимости: Если вы хотите использовать это свойство на веб-сайте, вы должны тестировать его очень осторожно. Хотя оно поддерживается в большинстве современных браузерах, его реализация широко варьируется. В старых браузерах, даже ключевое слово none не окажет одинакового эффекта на все элементы формы различных браузеров, а некоторые его совсем не поддерживают. Различия меньше в более современных браузерах.

Синтаксис

/* CSS модуль базового интерфейса 4 уровня, значения */
appearance: none;
appearance: auto;
appearance: button;
appearance: textfield;
appearance: searchfield;
appearance: textarea;
appearance: push-button;
appearance: button-bevel;
appearance: slider-horizontal;
appearance: checkbox;
appearance: radio;
appearance: square-button;
appearance: menulist;
appearance: menulist-button;
appearance: listbox;
appearance: meter;
appearance: progress-bar;

/* Частичный список доступных значений в Gecko */
-moz-appearance: scrollbarbutton-up;
-moz-appearance: button-bevel;

/* Частичный список доступных значений в WebKit/Blink (таких как Gecko и Edge) */
-webkit-appearance: media-mute-button;
-webkit-appearance: caret;

Свойство -moz-appearance может быть указано как одно значение, выбранное из списка ниже.

Значения

<appearance> является одним из нижеследующих ключевых свойств:

Value Demo Browser Description
none {{EmbedLiveSample("sampleNone",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge No special styling is applied. This is the default.
auto {{Experimental_Inline}} {{EmbedLiveSample("sampleAuto",100,50,"","", "nobutton")}} None The user agent selects the appropriate special styling based on the element. Acts as none on elements with no special styling.
attachment {{Non-standard_Inline}} {{EmbedLiveSample("sampleAttachment",100,50,"","", "nobutton")}} Safari  
borderless-attachment {{Non-standard_Inline}} {{EmbedLiveSample("sample-borderless-attachment",100,50,"","","nobutton")}} Safari  
button {{Non-standard_Inline}} {{EmbedLiveSample("sampleButton",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge The element is drawn like a button.
button-arrow-down {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonArrowDown",100,50,"","", "nobutton")}} Firefox Removed in FF 64
button-arrow-next {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonArrowNext",100,50,"","", "nobutton")}} Firefox Removed in FF 64
button-arrow-previous {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonArrowPrevious",100,50,"","", "nobutton")}} Firefox Removed in FF 64
button-arrow-up {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonArrowUp",100,50,"","", "nobutton")}} Firefox Removed in FF 64
button-bevel {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonBevel",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
button-focus {{Non-standard_Inline}} {{EmbedLiveSample("sampleButtonFocus",100,50,"","", "nobutton")}} Firefox Removed in FF 64
caps-lock-indicator {{Non-standard_Inline}} {{EmbedLiveSample("sample-caps-lock-indicator",100,50,"","","nobutton")}} Safari Edge  
caret {{Non-standard_Inline}} {{EmbedLiveSample("sampleCaret",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
checkbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleCheckbox",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge The element is drawn like a checkbox, including only the actual "checkbox" portion.
checkbox-container {{Non-standard_Inline}} {{EmbedLiveSample("sampleCheckboxContainer",100,50,"","", "nobutton")}} Firefox The element is drawn like a container for a checkbox, which may include a prelighting background effect under certain platforms. Normally it would contain a label and a checkbox.
checkbox-label {{Non-standard_Inline}} {{EmbedLiveSample("sampleCheckboxLabel",100,50,"","", "nobutton")}} Firefox  
checkmenuitem {{Non-standard_Inline}} {{EmbedLiveSample("sampleCheckmenuitem",100,50,"","", "nobutton")}} Firefox  
color-well {{Non-standard_Inline}} {{EmbedLiveSample("sample-color-well",100,50,"","","nobutton")}} Safari input type=color
continuous-capacity-level-indicator {{Non-standard_Inline}} {{EmbedLiveSample("sample-continuous-capacity-level-indicator",100,50,"","","nobutton")}} Safari  
default-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-default-button",100,50,"","","nobutton")}} Safari Edge  
discrete-capacity-level-indicator {{Non-standard_Inline}} {{EmbedLiveSample("sample-discrete-capacity-level-indicator",100,50,"","","nobutton")}} Safari  
dualbutton {{Non-standard_Inline}} {{EmbedLiveSample("sampleDualButton",100,50,"","", "nobutton")}} Firefox Removed in FF 64
groupbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleGroupbox",100,50,"","", "nobutton")}} Firefox Removed in FF 64
inner-spin-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleInnerSpinButton",100,50,"","", "nobutton")}} Firefox Chrome Safari  
image-controls-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-image-controls-button",100,50,"","","nobutton")}} Safari  
list-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-list-button",100,50,"","","nobutton")}} Safari datalist
listbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleListBox",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
listitem {{Non-standard_Inline}} {{EmbedLiveSample("sampleListItem",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
media-enter-fullscreen-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaEnterFullscreenButton",100,50,"","", "nobutton")}} Chrome Safari  
media-exit-fullscreen-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaExitFullscreenButton",100,50,"","", "nobutton")}} Chrome Safari  
media-fullscreen-volume-slider {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-fullscreen-volume-slider",100,50,"","","nobutton")}} Safari  
media-fullscreen-volume-slider-thumb {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-fullscreen-volume-slider-thumb",100,50,"","","nobutton")}} Safari  
media-mute-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaMuteButton",100,50,"","", "nobutton")}} Chrome Safari Edge  
media-play-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaPlayButton",100,50,"","", "nobutton")}} Chrome Safari Edge  
media-overlay-play-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaOverlayPlayButton",100,50,"","", "nobutton")}} Chrome Safari  
media-return-to-realtime-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-return-to-realtime-button",100,50,"","","nobutton")}} Safari  
media-rewind-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-rewind-button",100,50,"","","nobutton")}} Safari  
media-seek-back-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-seek-back-button",100,50,"","","nobutton")}} Safari Edge  
media-seek-forward-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-seek-forward-button",100,50,"","","nobutton")}} Safari Edge  
media-toggle-closed-captions-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaToggleClosedCaptionsButton",100,50,"","", "nobutton")}} Chrome Safari  
media-slider {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaSlider",100,50,"","", "nobutton")}} Chrome Safari Edge  
media-sliderthumb {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaSliderThumb",100,50,"","", "nobutton")}} Chrome Safari Edge  
media-volume-slider-container {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaVolumeSliderContainer",100,50,"","", "nobutton")}} Chrome Safari  
media-volume-slider-mute-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-volume-slider-mute-button",100,50,"","","nobutton")}} Safari  
media-volume-slider {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaVolumeSlider",100,50,"","", "nobutton")}} Chrome Safari  
media-volume-sliderthumb {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaVolumeSliderThumb",100,50,"","", "nobutton")}} Chrome Safari  
media-controls-background {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaControlsBackground",100,50,"","", "nobutton")}} Chrome Safari  
media-controls-dark-bar-background {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-controls-dark-bar-background",100,50,"","","nobutton")}} Safari  
media-controls-fullscreen-background {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaControlsFullscreenBackground",100,50,"","", "nobutton")}} Chrome Safari  
media-controls-light-bar-background {{Non-standard_Inline}} {{EmbedLiveSample("sample-media-controls-light-bar-background",100,50,"","","nobutton")}} Safari  
media-current-time-display {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaCurrentTimeDisplay",100,50,"","", "nobutton")}} Chrome Safari  
media-time-remaining-display {{Non-standard_Inline}} {{EmbedLiveSample("sampleMediaTimeRemainingDisplay",100,50,"","", "nobutton")}} Chrome Safari  
menuarrow {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuArrow",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menubar {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenubar",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menucheckbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuCheckbox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menuimage {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuImage",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menuitem {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuItem",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64, the element was styled as menu item, item is highlighted when hovered.
menuitemtext {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuItemText",100,50,"","", "nobutton")}} Firefox Removed in FF 64
menulist {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuList",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
menulist-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuListButton",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge The element is styled as a button that would indicate a menulist can be opened.
menulist-text {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuListText",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
menulist-textfield {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuListTextfield",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge The element is styled as the text field for a menulist. (Not implemented for the Windows platform)
menupopup {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuPopup",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menuradio {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuRadio",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
menuseparator {{Non-standard_Inline}} {{EmbedLiveSample("sampleMenuSeparator",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
meter {{EmbedLiveSample("sampleMeter",100,50,"","", "nobutton")}} Chrome Safari Firefox New in Fx 64
meterbar {{Non-standard_Inline}} {{EmbedLiveSample("sampleMeterbar",100,50,"","", "nobutton")}} Firefox New in Fx 16. Use meter instead
meterchunk {{Non-standard_Inline}} {{EmbedLiveSample("sampleMeterchunk",100,50,"","", "nobutton")}} Firefox New in Fx 16. Removed in Firefox 64.
number-input {{Non-standard_Inline}} {{EmbedLiveSample("sampleNumberInput",100,50,"","", "nobutton")}} Firefox  
progress-bar {{EmbedLiveSample("sampleProgressBarWebkit",100,50,"","", "nobutton")}} Chrome Safari Firefox New in Fx 64
progress-bar-value {{Non-standard_Inline}} {{EmbedLiveSample("sampleProgressBarValueWebkit",100,50,"","", "nobutton")}} Chrome Safari  
progressbar {{Non-standard_Inline}} {{EmbedLiveSample("sampleProgressBar",100,50,"","", "nobutton")}} Firefox The element is styled like a progress bar. Use progress-bar instead
progressbar-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleProgressBarVertical",100,50,"","", "nobutton")}} Firefox  
progresschunk {{Non-standard_Inline}} {{EmbedLiveSample("sampleProgressChunk",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
progresschunk-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleProgressChunkVertical",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
push-button {{Non-standard_Inline}} {{EmbedLiveSample("samplePushButton",100,50,"","", "nobutton")}} Chrome Safari Edge  
radio {{Non-standard_Inline}} {{EmbedLiveSample("sampleRadio",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge The element is drawn like a radio button, including only the actual "radio button" portion.
radio-container {{Non-standard_Inline}} {{EmbedLiveSample("sampleRadioContainer",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64, the element is drawn like a container for a radio button, which may include a prelighting background effect under certain platforms. Normally it would contain a label and a radio button.
radio-label {{Non-standard_Inline}} {{EmbedLiveSample("sampleRadioLabel",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
radiomenuitem {{Non-standard_Inline}} {{EmbedLiveSample("sampleRadioMenuItem",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
range {{Non-standard_Inline}} {{EmbedLiveSample("sampleRange",100,50,"","", "nobutton")}} Firefox  
range-thumb {{Non-standard_Inline}} {{EmbedLiveSample("sampleRangeThumb",100,50,"","", "nobutton")}} Firefox  
rating-level-indicator {{Non-standard_Inline}} {{EmbedLiveSample("sample-rating-level-indicator",100,50,"","","nobutton")}} Safari  
resizer {{Non-standard_Inline}} {{EmbedLiveSample("sampleResizer",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63
resizerpanel {{Non-standard_Inline}} {{EmbedLiveSample("sampleResizerPanel",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63.
scale-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleHorizontal",100,50,"","", "nobutton")}} Firefox  
scalethumbend {{Non-standard_Inline}} {{EmbedLiveSample("sampleThumbEnd",100,50,"","", "nobutton")}} Firefox  
scalethumb-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleThumbHorizontal",100,50,"","", "nobutton")}} Firefox  
scalethumbstart {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleThumbStart",100,50,"","", "nobutton")}} Firefox  
scalethumbtick {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleThumbTick",100,50,"","", "nobutton")}} Firefox  
scalethumb-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleThumbVertical",100,50,"","", "nobutton")}} Firefox  
scale-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleScaleVertical",100,50,"","", "nobutton")}} Firefox  
scrollbarbutton-down {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarButtonDown",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63.
scrollbarbutton-left {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarButtonLeft",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63.
scrollbarbutton-right {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarButtonRight",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63.
scrollbarbutton-up {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarButtonUp",100,50,"","", "nobutton")}} Firefox Removed in Firefox 63.
scrollbarthumb-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarThumbHorizontal",100,50,"","", "nobutton")}} Firefox  
scrollbarthumb-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarThumbVertical",100,50,"","", "nobutton")}} Firefox  
scrollbartrack-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarTrackHorizontal",100,50,"","", "nobutton")}} Firefox  
scrollbartrack-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleScrollbarTrackVertical",100,50,"","", "nobutton")}} Firefox  
searchfield {{Non-standard_Inline}} {{EmbedLiveSample("sampleSearchField",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
searchfield-decoration {{Non-standard_Inline}} {{EmbedLiveSample("sample-searchfield-decoration",100,50,"","","nobutton")}} Safari Edge  
searchfield-results-decoration {{Non-standard_Inline}} {{EmbedLiveSample("sample-searchfield-results-decoration",100,50,"","","nobutton")}} Safari Edge  
searchfield-results-button {{Non-standard_Inline}} {{EmbedLiveSample("sample-searchfield-results-button",100,50,"","","nobutton")}} Safari Edge  
searchfield-cancel-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleSearchFieldCancelButton",100,50,"","", "nobutton")}} Chrome Safari Edge  
snapshotted-plugin-overlay {{Non-standard_Inline}} {{EmbedLiveSample("sample-snapshotted-plugin-overlay",100,50,"","","nobutton")}} Safari  
separator {{Non-standard_Inline}} {{EmbedLiveSample("sampleSeparator",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
sheet {{Non-standard_Inline}} {{EmbedLiveSample("sampleSheet",100,50,"","", "nobutton")}} None  
slider-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleSliderHorizontal",100,50,"","", "nobutton")}} Chrome Safari Edge  
slider-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleSliderVertical",100,50,"","", "nobutton")}} Chrome Safari Edge  
sliderthumb-horizontal {{Non-standard_Inline}} {{EmbedLiveSample("sampleSliderThumbHorizontal",100,50,"","", "nobutton")}} Chrome Safari Edge  
sliderthumb-vertical {{Non-standard_Inline}} {{EmbedLiveSample("sampleSliderThumbVertical",100,50,"","", "nobutton")}} Chrome Safari Edge  
spinner {{Non-standard_Inline}} {{EmbedLiveSample("sampleSpinner",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
spinner-downbutton {{Non-standard_Inline}} {{EmbedLiveSample("sampleSpinnerDownbutton",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
spinner-textfield {{Non-standard_Inline}} {{EmbedLiveSample("sampleSpinnerTextfield",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
spinner-upbutton {{Non-standard_Inline}} {{EmbedLiveSample("sampleSpinnerUpbutton",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
splitter {{Non-standard_Inline}} {{EmbedLiveSample("sampleSplitter",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
square-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleSquareButton",100,50,"","", "nobutton")}} Chrome Safari Edge  
statusbar {{Non-standard_Inline}} {{EmbedLiveSample("sampleStatusBar",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
statusbarpanel {{Non-standard_Inline}} {{EmbedLiveSample("sampleStatusBarPanel",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
tab {{Non-standard_Inline}} {{EmbedLiveSample("sampleTab",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
tabpanel {{Non-standard_Inline}} {{EmbedLiveSample("sampleTabPanel",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
tabpanels {{Non-standard_Inline}} {{EmbedLiveSample("sampleTabPanels",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64
tab-scroll-arrow-back {{Non-standard_Inline}} {{EmbedLiveSample("sampleTabScrollArrowBack",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
tab-scroll-arrow-forward {{Non-standard_Inline}} {{EmbedLiveSample("sampleTabScrollArrowForward",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
textarea {{EmbedLiveSample("sampleTextArea",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
textfield {{Non-standard_Inline}} {{EmbedLiveSample("sampleTextField",100,50,"","", "nobutton")}} Firefox Chrome Safari Edge  
textfield-multiline {{Non-standard_Inline}} {{EmbedLiveSample("sampleTextfieldMultiline",100,50,"","", "nobutton")}} Firefox Use textarea instead
toolbar {{Non-standard_Inline}} {{EmbedLiveSample("sampleToolbar",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
toolbarbutton {{Non-standard_Inline}} {{EmbedLiveSample("sampleToolbarButton",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
toolbarbutton-dropdown {{Non-standard_Inline}} {{EmbedLiveSample("sampleToolbarButtonDropdown",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
toolbargripper {{Non-standard_Inline}} {{EmbedLiveSample("sampleToolbarGripper",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
toolbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleToolbox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
tooltip {{Non-standard_Inline}} {{EmbedLiveSample("sampleTooltip",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeheader {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeHeader",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeheadercell {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeHeaderCell",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeheadersortarrow {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeHeaderSortArrow",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeitem {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeItem",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeline {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeLine",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treetwisty {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeTwisty",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treetwistyopen {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeTwistyOpen",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
treeview {{Non-standard_Inline}} {{EmbedLiveSample("sampleTreeView",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
relevancy-level-indicator {{Non-standard_Inline}} {{EmbedLiveSample("sample-relevancy-level-indicator",100,50,"","","nobutton")}} Safari  
-moz-win-borderless-glass {{Non-standard_Inline}}{{Gecko_MinVersion_Inline("2.0")}} {{EmbedLiveSample("sampleWinBorderlessGlass",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This style applies the Aero Glass effect -- but without a border -- to the element.
-moz-win-browsertabbar-toolbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleWinBrowsertabbarToolbox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This toolbox style is meant to be used for the tab bar in a browser.
-moz-win-communicationstext {{Non-standard_Inline}} {{EmbedLiveSample("sampleWinCommunicationstext",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-win-communications-toolbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleWinCommunicationsToolbox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This toolbox style is meant to be used in communications and productivity applications. Corresponding foreground color is -moz-win-communicationstext.
-moz-win-exclude-glass {{Non-standard_Inline}}{{Gecko_MinVersion_Inline("6.0")}} {{EmbedLiveSample("sampleWinExcludeGlass",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This styles is used to exclude the Aero Glass effect on the element.
-moz-win-glass {{Non-standard_Inline}} {{EmbedLiveSample("sampleWinGlass",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This style applies the Aero Glass effect to the element.
-moz-win-media-toolbox {{Non-standard_Inline}} {{EmbedLiveSample("sampleWinMediaToolbox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64. This toolbox style is meant to be used in applications that manage media objects. Corresponding foreground color is -moz-win-mediatext.
-moz-window-button-box {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonBox",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-button-box-maximized {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonBoxMaximized",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-button-close {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonClose",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-button-maximize {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonMaximize",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-button-minimize {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonMinimize",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-button-restore {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowButtonRestore",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-frame-bottom {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowFrameBottom",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-frame-left {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowFrameLeft",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-frame-right {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowFrameRight",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-titlebar {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowTitlebar",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-moz-window-titlebar-maximized {{Non-standard_Inline}} {{EmbedLiveSample("sampleWindowTitlebarMaximized",100,50,"","", "nobutton")}} Firefox Removed in Firefox 64.
-apple-pay-button {{Non-standard_Inline}} {{EmbedLiveSample("sampleApplePayButton",100,50,"","", "nobutton")}} Safari iOS and macOS only. Available on the web starting in iOS 10.1 and macOS 10.12.1

Формальный синтаксис

{{CSSSyntax}}

Примеры

Нижеприведенный пример показывает, как сделать элемент, выглядящий как кнопка панели инструментов в Firefox:

.exampleone {
  -moz-appearance: toolbarbutton;
}

Смотрите также this JSFiddle в качестве примера, показывающего как вы можете использвать appearance: none для стилизации радио кнопок и чекбоксов.

Спецификации

Спецификация Статус Комментарии
{{SpecName("CSS4 Basic UI", "#appearance-switching", "appearance")}} {{Spec2("CSS4 Basic UI")}} Первое определение.

{{CSSInfo}}

Поддержка  браузерами

{{Compat("css.properties.appearance")}}

Смотрите также