- 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
Set positive success action with green outlined Bootstrap 4 Button
To set an outline on a button that indicates positive action, you need to use the btn-outline-success class in Bootstrap.
Here is how you can set it:
<button type="button" class="btn btn-outline-success"> More (Green Outline) </button>
You can try to run the following code to implement the btn-outline-success class −
Example
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script> </head> <body> <h2>Python</h2> <p>The following are the Python Technologies :</p> <ul class = "list-group"> <li class = "list-group-item">Jython</li> <li class = "list-group-item">WxPython</li> </ul> <p>For more, click below:</p> <button type="button" class="btn btn-outline-success">More (Green Outline)</button> </body> </html>
- Related Articles
- Set warning action with orange outlined Bootstrap 4 Button
- Set blue outlined Bootstrap 4 Button
- Set light grey outlined Bootstrap 4 Button
- Create a green button (success) with Bootstrap
- Set less important stuff with grey outlined Bootstrap 4 Button
- Indicate danger with red outlined Bootstrap 4 Button
- Dark grey outlined Bootstrap 4 Button
- Set positive action to the Bootstrap 4 card
- Add a green background color to an element to set positive action with Bootstrap
- Bootstrap 4 .btn-outline-success Button class
- Add green label (stating success) with Bootstrap
- Set success action for a list item in a list group with Bootstrap
- Set a green border to an element in Bootstrap to indicate success
- Create a green color alert box that indicates a positive action in Bootstrap
- Set negative action for Bootstrap 4 cards with red background color

Advertisements