Bootstrap Global CSS style form

Source: Internet
Author: User

. form-control--assigns individual form controls to some global styles, such as the default width width:100%;

. form-group--wrap the form controls to get the best arrangement;

. form-inline--set the form as an inline form, only applicable to the viewport (viewport) at least 768px width;

. sr-only--hides the label label;

. help-block--used to set prompt text;

. form-horizontal-- can layout label labels and control groups horizontally;

. Radio-inline,. checkbox-inline--arranges the corresponding controls horizontally;

. form-control-static--sets the P element as a static control;

. Has-error,. has-warning, has-success--respectively corresponding check state;

. has-feedback--add a secondary icon to the control (used in conjunction with the Icon reference class);

. input-lg--create a larger form control;

. input-sm--create smaller form controls;

<! DOCTYPE html>



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Bootstrap Global CSS style form

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.