ホーム HTML CSS XML JAVASCRIPT   PHP SQL MORE...   リファレンス 事例集    

CSS3 icon プロパティ

CSS3 Reference 完全な CSS3 リファレンス

Style an img element with an iconic equivalent:

img
{
content:icon;
icon:url(imgicon.png);
}


ブラウザ・サポート

Internet Explorer Firefox Opera Google Chrome Safari

icon プロパティをサポートしているブラウザはありません。


定義と用法

icon property provides the author the ability to style an element with an iconic equivalent.

注: An element's icon is not used unless the "content" property is set to the value "icon"!

デフォルト値: auto
継承: no
バージョン: CSS3
JavaScript構文: object.style.icon="url(image.png)"


構文

icon: auto|URL|inherit;

説明
auto Uses a default generic icon provided by the browser
URL Refers to one or more icons in a comma separated list
inherit Specifies that the value of the icon property should be inherited from the parent element


CSS3 Reference 完全な CSS3 リファレンス