JQuery Mobile, many styles are written well, although there are themes, but for the personalized WAP site, it is still difficult to manage.
After using Html5+jquery Mobile to do several pages, the problems encountered in the middle and the solutions are now summarized for later review.
Problem:
1, a color redefine the problem
2, the button color problem in input,
Input box, left icon showing problem (text indent)
3. The icon customization question in the above "explained above, redefined by Ui-icon-xxx:after"
Solve:
1-2, a/input can be redefined using the
. ui-page-theme-a a.c_hot_60{color: #ff6600;}
. ui-page-theme-a input.btn-green{Background:url (.. /images/btn_green.png) No-repeat; background-size:100% 100%;}
Note: In the label, add the corresponding class, and you need to label the subject, such as <a href= "#" Data-theme= "Ui-page-theme-s" class= "C-hot-f60 fr" > New user Registration </a>. The input usage method is consistent.
If you do not need to label the subject, write input.ti_3{text-indent:3em directly;} Or you can.
Html5+jquery Mobile WAP Experience Summary (ii)-A/input style redefined