content logo

Bootstrap Buttons:

3D Buttons with Bootstrap

Flat illustrations used to be the only thing we had until 3D graphics came into play. These graphics were way better and felt more realistic so they immediately became more popular than flat designs. For the past couple of years, 3D art and animation have been mentioned in all numerous user interface designs in the website. It has a become a trend and so many designers have started to take advantage of it and integrate it into their landing pages to lure in more visitors. These new designs are much more interesting to look at and feature many great options. You can also make it more pleasing by adding drop shadows to it and make it feel even more realistic. Besides, they can be used in any website and with any feature even the important buttons in a site.

In this post, we are sharing a 3D Bootstrap button. they are a really simple design but have been executed perfectly. As the name suggests these Bootstrap beautiful buttons have been created in three dimensions which makes clicking on them a really pleasing experience. These 3D buttons are available in two different colours, yellow and white. So, don’t waste any more time and scroll down to integrate these 3D Bootstrap buttons in your website right away.

#

Bootstrap Button

#

3D Buttons

#

Bootstrap Beautiful Buttons

#

3D Bootstrap Button

<!-- This script got from frontendfreecode.com -->
<div class="container">
	<div class="row center">
		<p>
			<button type="button" class="btn btn-primary btn-lg btn3d">Large button</button>
			<button type="button" class="btn btn-default btn-lg btn3d">Large button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn3d">Default button</button>
			<button type="button" class="btn btn-default btn3d">Default button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn-sm btn3d">Small button</button>
			<button type="button" class="btn btn-default btn-sm btn3d">Small button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn-xs btn3d">Extra small button</button>
			<button type="button" class="btn btn-default btn-xs btn3d">Extra small button</button>
		</p>
	</div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
.center{
    text-align:center;
}
.btn3d {
	position: relative;
	top: -6px;
	border: 0;
	transition: all 40ms linear;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 2px;
	margin-right: 2px;
}
.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
	-moz-outline-style: none;
	outline: medium none;
}
.btn3d:active,
.btn3d.active {
	top: 2px;
}
.btn3d.btn-white {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, .2);
	background-color: #fff;
}
.btn3d.btn-white:active,
.btn3d.btn-white.active {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
	background-color: #fff;
}
.btn3d.btn-default {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #BEBEBE, 0 8px 8px 1px rgba(0, 0, 0, .2);
	background-color: #f9f9f9;
}
.btn3d.btn-default:active,
.btn3d.btn-default.active {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
	background-color: #f9f9f9;
}
.btn3d.btn-primary {
	color: #113343;
	box-shadow: 0 0 0 1px #E6982E inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 3px 0 0 #BA8741, 0 3px 3px 1px rgba(0, 0, 0, 0.5);
	background-color: #f8ba1c;
}
.btn3d.btn-primary:active,
.btn3d.btn-primary.active {
	color: #113343;
	box-shadow: 0 0 0 1px #e698ce inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
	background-color: #f8ba1c;
}
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<style>
.center{
    text-align:center;
}
.btn3d {
	position: relative;
	top: -6px;
	border: 0;
	transition: all 40ms linear;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 2px;
	margin-right: 2px;
}
.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
	-moz-outline-style: none;
	outline: medium none;
}
.btn3d:active,
.btn3d.active {
	top: 2px;
}
.btn3d.btn-white {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, .2);
	background-color: #fff;
}
.btn3d.btn-white:active,
.btn3d.btn-white.active {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
	background-color: #fff;
}
.btn3d.btn-default {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #BEBEBE, 0 8px 8px 1px rgba(0, 0, 0, .2);
	background-color: #f9f9f9;
}
.btn3d.btn-default:active,
.btn3d.btn-default.active {
	color: #666666;
	box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
	background-color: #f9f9f9;
}
.btn3d.btn-primary {
	color: #113343;
	box-shadow: 0 0 0 1px #E6982E inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 3px 0 0 #BA8741, 0 3px 3px 1px rgba(0, 0, 0, 0.5);
	background-color: #f8ba1c;
}
.btn3d.btn-primary:active,
.btn3d.btn-primary.active {
	color: #113343;
	box-shadow: 0 0 0 1px #e698ce inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
	background-color: #f8ba1c;
}
</style>

</head>
<body>
<div class="container">
	<div class="row center">
		<p>
			<button type="button" class="btn btn-primary btn-lg btn3d">Large button</button>
			<button type="button" class="btn btn-default btn-lg btn3d">Large button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn3d">Default button</button>
			<button type="button" class="btn btn-default btn3d">Default button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn-sm btn3d">Small button</button>
			<button type="button" class="btn btn-default btn-sm btn3d">Small button</button>
		</p>
		<p>
			<button type="button" class="btn btn-primary btn-xs btn3d">Extra small button</button>
			<button type="button" class="btn btn-default btn-xs btn3d">Extra small button</button>
		</p>
	</div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
<script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'},{'ap':'cpbh-mt'},{'server':'p3plmcpnl484880'},{'dcenter':'p3'},{'cp_id':'765442'},{'cp_cl':'8'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/traffic-assets/js/tccl.min.js'></script></html>
Preview