content logo

Bootstrap Buttons:

Bootstrap Growing Button with Shadow

Buttons can communicate the actions that the users can take. Typically, a web designer places these buttons throughout the entire user interface in their website. It could be used in any places such as toolbars, dialogs, forms and more. Buttons are similar to links but are way different at the same time. The buttons have some distinctive features. They are used when you want to perform an action. It could range from uploading a file or downloading it, submitting information, creating new stuff, etc. one the hand, you use links to navigate to different sections and pages. You can have a link to your about us page or the profile page. You could assign links to button to make the buttons do what links do but in a more fascinating way.

This code features a beautiful blue button with the ability to instantly improve how your website looks. The Bootstrap button also features hover effects and once hovered over by the mouse, it gets larger. This Bootstrap shadow button has a somewhat 3D design so the shadow is also visible under it. you use this shadow with button template in your website without any costs; just scroll down to the code section.

#

Bootstrap Button

#

Shadow with Button

#

Blue Button

#

Bootstrap Shadow Button

<!-- This script got from frontendfreecode.com -->
<div class="button">This is a button</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
  text-align: center;
  padding: 200px;
}
.button {
  display: inline-block;
  background: #4285f4;
  color: #fff;
  text-transform: uppercase;
  padding: 20px 30px;
  border-radius: 5px;
  box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  -webkit-transition: all ease-in-out 300ms;
  transition: all ease-in-out 300ms;
}
.button:hover {
  box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translate(0px, -10px) scale(1.2);
          transform: translate(0px, -10px) scale(1.2);
}
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<style>
body {
  text-align: center;
  padding: 200px;
}
.button {
  display: inline-block;
  background: #4285f4;
  color: #fff;
  text-transform: uppercase;
  padding: 20px 30px;
  border-radius: 5px;
  box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  -webkit-transition: all ease-in-out 300ms;
  transition: all ease-in-out 300ms;
}
.button:hover {
  box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translate(0px, -10px) scale(1.2);
          transform: translate(0px, -10px) scale(1.2);
}
</style>

</head>
<body>
<div class="button">This is a button</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview