Home >Web Front-end >Bootstrap Tutorial >What are the classes for verifying prompt status in bootstrap?

What are the classes for verifying prompt status in bootstrap?

(*-*)浩
(*-*)浩Original
2019-07-18 16:43:253272browse

When making a form, form verification is inevitable. It is also necessary to provide validation status styles, and these effects are also provided in the Bootstrap framework.

What are the classes for verifying prompt status in bootstrap?

1. .has-warning: warning status (yellow) (recommended learning: Bootstrap video tutorial)

2. .has-error: error status (red)

3. .has-success: success status (green)

When using it, you only need to add the corresponding status class name to the form-group container.


     
     
     

Rendering:

What are the classes for verifying prompt status in bootstrap?

##For more Bootstrap related technical articles, please visit

Bootstrap Tutorial column to learn!

The above is the detailed content of What are the classes for verifying prompt status in bootstrap?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn