"3D Buttons Effects"
Bootstrap 3.0.0 Snippet by mahesh2382

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>CSS3 3D Button Effects</h2> <!-- Indicates caution should be taken with this action --> <button type="button" class="btn btn-warning btn-lg btn3d"><span class="glyphicon glyphicon-warning-sign"></span> Warning</button> </div> </div>
.btn3d { transition:all .08s linear; position:relative; outline:medium none; -moz-outline-style:none; border:0px; margin-right:10px; margin-top:15px; } .btn3d:focus { outline:medium none; -moz-outline-style:none; } .btn3d:active { top:9px; } .btn-warning { box-shadow:0 0 0 1px #f0ad4e inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #eea236, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5); background-color:#f0ad4e; }

Related: See More


Questions / Comments: