The best CSS3 icon property Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Attribute definitions and instructions,grammar,
Icon image element is set to the equivalent of:
No major browsers support icon properties.
icon creator property element is set to provide the equivalent of an icon of capacity.
Note: The icon element is not available unless the "content" attribute set to "icon"!
Defaults: | auto |
---|---|
inherit: | no |
version: | CSS3 |
JavaScript syntax: | object .style.icon = "url (image.png)" |
value | description |
---|---|
auto | Use the default generic icons provided by the browser. |
URL | List of references to one or more icons, comma-separated list. |
inherit | Provisions should be elements inherit property value icon. |