Bootstrap 4 Button .btn-outline-light class

BootstrapWeb DevelopmentCSS Framework

Use the btn-outline-light class in Bootsrap 4 to set light grey outlined button.

To include it on the web page, set it as a class in the <button> element as shown in the following code snippet −

<button type="button" class="btn btn-outline-light">

Let us see an example to implement the btn-outline-light class −


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>Demo Button</h2>
  <p>Below is a light grayed outline button:</p>
  <button type="button" class="btn btn-outline-light">
Updated on 17-Jun-2020 12:17:06