Css Animated 3D Button | Sanwebcorner

Css Animated 3D Button

This is one of the nice and beautiful button with 3d effect with onclick animation. It is very simple to create this types of buttons, Just follow the below css code you can able to understand. 

The below image shows How this colorful animated 3d buttons looks. Here i given 6 types of colors with push animation on click the button, This example have the code and also demo page visit live demo page and check it how it was. It is really awesome you can use this types of animated buttons to your website to attract the customers or visitors.


Code for Css Animated 3d Button:

<html lang="en">
<head>
<meta name="author" content="">
<link href="https://fonts.googleapis.com/css?family=Russo+One" rel="stylesheet">
<title>css animated 3d button</title>
<style>
body
{
margin-top:100px;

}

.animate
{
transition: all 0.1s;
-webkit-transition: all 0.1s;
}

.on-click
{
position: relative;
padding: 10px 40px;
margin: 0px 10px 10px 0px;
float: left;
border-radius: 10px;
font-family: 'Russo One', sans-serif;
font-size: 21px;
color: #FFF;
text-decoration: none;
}

.color1
{
background-color: #3498DB;
border-bottom: 5px solid #2980B9;

}

.color2
{
background-color:#c46cfb;
border-bottom: 5px solid #9c54c9;
text-shadow: 0px -2px #9c54c9;
}

.color3
{
background-color: #E74C3C;
border-bottom: 5px solid #BD3E31;
text-shadow: 0px -2px #BD3E31;
}

.color4
{
background-color: #82BF56;
border-bottom: 5px solid #669644;
text-shadow: 0px -2px #669644;
}

.color5
{
background-color: #828280;
border-bottom: 5px solid #4a4a48;
text-shadow: 0px -2px #4a4a48;
}

.color6
{
background-color: #F2CF66;
border-bottom: 5px solid #D1B358;
text-shadow: 0px -2px #D1B358;
}

.on-click:active
{
transform: translate(0px,5px);
-webkit-transform: translate(0px,5px);
border-bottom: 1px solid;
}

.cont
{
width:400px;
margin:0 auto;
}
</style>
</head>
<body>
<div class="cont">
<h2 style="text-align:center;">Css Animated 3d Button</h2>
<a href="#" class="on-click shadow animate color1">Button1</a>
<a href="#" class="on-click shadow animate color2">Button2</a>
<a href="#" class="on-click shadow animate color3">Button3</a>
<a href="#" class="on-click shadow animate color4">Button4</a>
<a href="#" class="on-click shadow animate color5">Button5</a>
<a href="#" class="on-click shadow animate color6">Button6</a>
</div>
</body>
</html>

Post a Comment

Labels

360 degree view product image 3d rotate 3d text 3step-form Accordion menu ajax All Browsers Animated Background Gradient animation audio controller auto complete Best accordion menu bootstrap border bounce effect on hover Breadcrumb calculate age by dob calendar Captcha change image on mouse move color chooser countdown Counter on scroll create random number Css css animation css buttons css hover css3 customized upload Button Date picker delete data from table Different scroll speed email otp verification email verifier Embed eventlist Expanding Menu feedbck form flash news section close button full screen menu Google custom search Google Maps Google reCAPTCHA Google site search gradient hide menu Horizontal News ticker Hover Htm Html html dropdown html form html5 html5 form validation Iframe image hover increment decrement textbox value based on select box Javascript Jquery js Layered image effect on mouse hover lock & unlock page scroll marquee marquee with close button mobile number validation mobile otp login Multi-level-drop-down-menu multi-level-form multi-select-checkbox Multi-Step-form Multiple File Upload in PHP mysql News ticker on hover change text to image our team page password generator password strength checker Photoshop PHP php mailer populate html selectbox Popup image on click the link pure css Question type form random number generate Random password Redirect page Based on the select box while submit the form responsive responsive menu responsive popup box Responsive Vertical Time line design rotate image selectbox based on select box simple coming soon page simple countdown based on end date simple typing effect slider sliding tab sms otp login statistic counter on scroll switch tag shape team member Time picker toggle toggle view transparent button underline animation up down slide validation vertical fixed sidebar Webtips whatsapp link website Youtube