JQueryMobile component -- button and jquerymobilebutton

Source: Internet
Author: User
Tags button attributes

JQueryMobile component -- button and jquerymobilebutton

In the jQueryMobile framework, the default buttons are horizontally exclusive and adaptive Based on the screen width.

Ui-btn -- declare as button display;

Ui-shadow -- shadow the elements when they are crossed;

Ui-icon-* -- jQueryMobile built-in icon attributes;



Ui-btn-icon-notext -- hide the text of the button; other ui-btn-icon-* attributes include:


Ui-btn-inline -- display multiple buttons in a line, that is, inline style;

Data-role = "controlgroup" -- display several buttons in group mode;

Data-type = "horizontal" -- indicates that child elements are arranged horizontally;

Ui-btn-a -- white topic button;

Ui-btn-B -- black topic button;

For more button attributes, see the jQueryMobile API

<! DOCTYPE html> 

Effects in iPhone 6:





Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.