我如何更改 <a data-role="button">
按钮的背景到我的图像?另外如何在左侧的按钮顶部添加我的自定义图标?
最佳答案
给链接一个类并使用 CSS 更改背景图像。
<a data-role="button" class="my-button">
...
.my-button {
background-image: url('images/my-button.png') !important;
}
关于jquery-mobile - jQuery 移动 : How to customize button,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7518642/