jQuery Mobile 图标
--------------------------------------------------------------------------------
jQuery Mobile 提供了一套内置的图标,可以应用于button,collapsibles,ListView等。
jQuery Mobile 提供了大量的图标,可以通过应用数据图标属性或UI图标-一个合适的部件使用的类。
There is an SVG and PNG image of each icon. By default the SVG icons, that look great on both SD and HD screens, are used. On platforms that don't support SVG the framework falls back to PNG icons. The icon name is self-describing. For example, the following will display a button with a home icon:
有一个SVG和每个图标png图片。默认情况下,SVG图标,看起来伟大在SD和HD屏幕,使用。在平台不支持SVG框架落回png图标。图标的名字是自我描述。例如,以下就是图标按钮显示:
<a href="index.html"class="ui-btn ui-icon-home ui-btn-icon-left">Home</a> |
下面是一个完整的图标列表设置:
http://api.jquerymobile.com/icons/
Icons and themes
图标和主题
The semi-transparent black circle behind the white icon ensures good contrast on any background color so it works well with the jQuery Mobile theming system. Here are examples of the same icons sitting on top of a range of different color swatches with themed buttons.
半透明的黑色圆圈白偶像背后的保证在任何背景颜色对比度好,它与jQuery Mobile主题系统。这里是相同的图标,坐在一个范围内的不同颜色的色板与主题的按钮的例子。