Set less important stuff with grey outlined Bootstrap 4 Button

To set less important stuff in Bootstrap, use the btn-outline-secondary class.

The outline is applied on a button and a green color is applied using the same class −

<button type="button" class="btn btn-outline-secondary">
  Tools (Secondary Outline)

Above, I have set the btn-outline-secondary class as any normal class set on any element, which is button here.

You can try to run the following code to learn how to set grey outline Bootstrap Button −


Live Demo

<!DOCTYPE html>
<html lang="en">
    <title>Bootstrap Example</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="">
    <script src=""></script>
    <script src=""></script>
  <h2>Web Tools</h2>
  <p>The following are the Tools:</p>
  <ul class = "list-group">
    <li class = "list-group-item">JSON Editor</li>
    <li class = "list-group-item">XML Editor</li>
  <p>For more, click below:</p>
  <button type="button" class="btn btn-outline-secondary"> Tools (Secondary Outline)</button>