我有一個JQuery Mobile應用程序。我想要設置「標題」中使用的按鈕的樣式。目前,我有以下幾點:JQuery Mobile應用程序標題中的樣式按鈕
.my-btn-hdr { text-transform:uppercase; background-color:blue; color:white; min-height:33px; width:93px; }
...
<div id="myPage" data-role="page" data-dom-cache="false">
<div data-role="header" data-position="fixed">
<a href="#" data-icon="arrow-l" data-iconpos="notext" data-direction="reverse" class="ui-btn-left jqm-back">Back</a>
<h1>MyApp</h1>
<a id="saveButton" href="#" class="ui-btn-right my-btn-hdr">Save</a>
</div>
<div data-role="content">
...
</div>
</div>
我注意到,當頁面獲取呈現時,UI-BTN,UI的BTN-UP-A,UI的影子,和UI鍵角,所有的CSS類正在增加。我還注意到data-corners =「true」,data-shadow =「true」和data-iconshadow =「true」屬性正在增加。
如何自定義jquery移動應用程序頭部中的按鈕樣式?