css appearance

appearance CSS Style Property

המאפיין appearance משמש לשליטה במראה המקורי של פקדי ממשק המשתמש, המבוססים על ערכת הנושא של מערכת ההפעלה

דוגמא: מגיר את מראה הפקד של תגית מסוג input[type="checkbox"]

Demo Panel:


CSS:
HTML:
Syntax:

appearance: auto | none | <other>

Valid values:
  • none, auto, textfield, menulist-button, searchfield, textarea, push-button, slider-horizontal, checkbox, radio, square-button, menulist, listbox, meter, progress-bar, button, revert, revert-layer, unset, inherit, initial

Js Syntax: element.style.appearance

תאימות דפדפנים

appearance
הערך שנבדקChromeFirefoxEdgeCOpera
auto✔️✔️✔️✔️
none✔️✔️✔️✔️
textfield✔️✔️✔️✔️
menulist-button✔️✔️✔️✔️
searchfield✔️✔️✔️✔️
textarea✔️✔️✔️✔️
push-button✔️✔️✔️
slider-horizontal✔️✔️✔️
checkbox✔️✔️✔️✔️
radio✔️✔️✔️✔️
square-button✔️✔️✔️
menulist✔️✔️✔️✔️
listbox✔️✔️✔️✔️
meter✔️✔️✔️✔️
progress-bar✔️✔️✔️✔️
button✔️✔️✔️✔️
revert✔️✔️✔️✔️
revert-layer✔️✔️✔️✔️
unset✔️✔️✔️✔️
inherit✔️✔️✔️✔️
initial✔️✔️✔️✔️

דוגמא: מגיר את מראה הפקד של תגית מסוג input[type="radio"]

Demo Panel:


CSS:
HTML:

דוגמא: מגיר את מראה הפקד של תגית מסוג button

Demo Panel:


CSS:
HTML:

דוגמא: מגיר את מראה הפקד של תגית מסוג input[type="text"]

Demo Panel:


CSS:
HTML:

דוגמא: מגיר את מראה הפקד של תגית מסוג select

Demo Panel:


CSS:
HTML:

דוגמא: מגיר את מראה הפקד של תגית מסוג input[type="button"]

Demo Panel:


CSS:
HTML:

דוגמא: מגיר את מראה הפקד של תגית מסוג input[type="submit"]

Demo Panel:


CSS:
HTML: