Add shadows to Button - HTML CSS Bootstrap

HTML CSS examples for Bootstrap:Button

Description

Add shadows to Button

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <style>
  .btn-default {<!--   w  w  w.  j  a  v a2s . com-->
      box-shadow: 1px 2px 5px #000000;
  }
  </style>
</head>
<body>

<div class="container">
  <h2>Customized Buttons</h2>
  <p>Button with shadows:</p>
  <button type="button" class="btn btn-default">Button</button>
</div>

</body>
</html>

Related Tutorials