appearance
appearance
英 [??p??r?ns] 美 [??p?r?ns]
CSS ?? ?? ???
??: appearance ??? ???? ??? ?? ??? ????? ???? ??? ?? ? ????.
??: ??appearance: Normal|icon|window|button|menu|field
??: normal ??? ?? ??? ??????. icon? ??? ???(?? ??)?? ??????. ?? ??? ???? ??????. ??? ??? ???? ??????. ??? ???? ??? ? ?? ?? ???? ??? ?????. field? ??? ?? ??? ??????.
??: ?? ?? ????? ?? ??? ???? ????. Firefox? ?? -moz-appearance ??? ?????. Safari? Chrome? ?? -webkit-appearance ??? ?????.
CSS ?? ?? ?
<!DOCTYPE html> <html> <head> <style> div { appearance:button; -moz-appearance:button; /* Firefox */ -webkit-appearance:button; /* Safari and Chrome */ } </style> </head> <body> <p><b>注釋:</b>Internet Explorer 和 Opera 不支持 appearance 屬性。</p> <div>一些文本。</div> </body> </html>
??? ????? ??? "???? ??" ??? ?????