- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Enable successful action of Bootstrap button
To set a successful action in Bootstrap, use the .btn-success class −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <meta name = "viewport" content = "width = device-width, initial-scale = 1"> <link rel = "stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"> <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src = "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> </head> <body> <button type = "button" class = "btn btn-success">Success Button</button> </body> </html>
- Related Articles
- How to enable back button action in action bar?
- How to enable back button in action bar?
- Set warning action with orange outlined Bootstrap 4 Button
- Indicate a successful action to a particular table row or cell with Bootstrap
- Set positive success action with green outlined Bootstrap 4 Button
- Python - Button Action in Kivy
- Bootstrap Collapsible button
- How to enable back button in android webview?
- How to Disable / Enable a Button in TKinter?
- Bootstrap Form Radio Button
- Create button in Bootstrap
- Disable a Bootstrap Button
- Bootstrap Button Group Classes
- Primary action in a set of Bootstrap buttons
- How to enable and disable submit button using jQuery?

Advertisements