好吧,没有看到你到底想要什么是我的尝试:
我从其他答案和评论中拼凑而成:
CSS:
.button_style {
width : 40px !important;
height : 40px !important;
background: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(63,67,75)), color-stop(1, rgb(40,42,47)) );
background: -moz-linear-gradient( center bottom, rgb(63,67,75) 0%, rgb(40,42,47) 100% ) !important;
padding: -3px;
-webkit-border-radius: 9px !important;
}
HTML:
<div>
<a href="#" data-role="button" data-theme="a" class="button_style" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="b" class="button_style" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="c" class="button_style" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="d" class="button_style" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="e" class="button_style" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="a" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="b" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="c" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="d" onClick="check()">Test Button</a>
<a href="#" data-role="button" data-theme="e" onClick="check()">Test Button</a>
</div>
我的想法是你能用 Theme Roller 做到这一点吗?
您还可以尝试一些按钮选项: