Custom Vertical social toggle button using css and html. this button set right side in your screen. button design onclick with effect.

you can get code of bootstrap social icons snippet. we give you example of bootstrap social buttons , you can simple copy bellow code and use in your project. If it free snippets of toggle socialbar So you have to simple get those bellow code from tab of html, css and js. you simple click on HTML Code then you will get html code social share buttons snippets, click on JS Code tab get code of jquery codd for font awesome social icons example snippets, same as for CSS Code tab. It's pretty easy and simple example of bootstrap font awesome example snippet.


<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <div class="container"> <div class="row"> <div class="col-md-4 col-md-offset-4 col-sm-12 col-xs-12"> <div class="social-button-anim"> <button class="social-button social-button-toggle" type="button"> <span class="fa fa-bars" aria-hidden="true"></span> </button> <ul class="list-inline" id="options"> <li class="option"> <button class="social-button option1" type="button"> <span class="fa fa-facebook" aria-hidden="true"></span> </button> </li> <li class="option"> <button class="social-button option2" type="button"> <span class="fa fa-twitter" aria-hidden="true"></span> </button> </li> <li class="option"> <button class="social-button option3" type="button"> <span class="fa fa-instagram" aria-hidden="true"></span> </button> </li> <li class="option"> <button class="social-button option4" type="button"> <span class="fa fa-whatsapp" aria-hidden="true"></span> </button> </li> </ul> </div> </div> </div> </div> </body> </html>
.social-button { position: fixed; right: 5%; bottom: 5%; z-index: 1; width: 70px; height: 70px; font-size: 2em; color: #fff; background: #686868; border: none; border-radius: 7%; outline: none; } .social-button-toggle { z-index: 3; width: 77px; height: 75px; margin: 0 auto; border: 1px solid #686868; } .social-button-toggle span { -webkit-transform: none; transform: none; -webkit-transition: -webkit-transform .175s cubic-bazier(.175,.67,.83,.67); transition: transform .175s cubic-bazier(.175,.67,.83,.67); font-size: 25px; padding: 10px; } .social-button-toggle.open { border-radius: 0% 0% 7% 7%; border-top: 1px solid #fff; } .social-button-toggle.open span { -webkit-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: -webkit-transform .175s cubic-bazier(.175,.67,.83,.67); transition: transform .175s cubic-bazier(.175,.67,.83,.67); } #options { height: 70px; } .option { position: relative; } .option .option1,.option .option2,.option .option3,.option .option4{ filter: blur(5px); -webkit-filter: blur(5px); -webkit-transition: all .175s; transition: all .175s; } .option .option1 { -webkit-transform: translate3d(-6px,-5px,0) scale(.8,.8); transform: translate3d(-6px,-5px,0) scale(.8,.8); } .option .option2 { -webkit-transform: translate3d(-3px,-3px,0) scale(.8,.8); transform: translate3d(-3px,-3px,0) scale(.8,.8); } .option .option3 { -webkit-transform: translate3d(-7px,0px,0) scale(.8,.8); transform: translate3d(-7px,0px,0) scale(.8,.8); } .option .option4 { -webkit-transform: translate3d(-9px,0px,0) scale(.8,.8); transform: translate3d(-9px,0px,0) scale(.8,.8); } .option.scale-on .option1, .option.scale-on .option2,.option.scale-on .option3,.option.scale-on .option4{ filter: blur(0); -webkit-filter: blur(0); -webkit-transform: none; transform: none; -webkit-transition: all 0.350s; transition: all 0.350s; border:none; color: #fff; -webkit-transition: all 0.350s; transition: all 0.350s; -webkit-transition: all 0.350s; transition: all 0.350s; -webkit-transition: all 0.350s; transition: all 0.350s; -webkit-transition: all 0.350s; transition: all 0.350s; border-radius: 0px; } .option.scale-on .option1:hover, .option.scale-on .option2:hover,.option.scale-on .option3:hover,.option.scale-on .option4:hover{ background-color: #686868; } .option.scale-on .option1 { -webkit-transform: translateX(-3.5px) translateY(-156px) scale(1.1,1.1); transform: translateX(-3.5px) translateY(-156px) scale(1.1,1.1); background: #3b5998; } .option.scale-on .option2 { -webkit-transform: translateX(-3.5px) translateY(-79px) scale(1.1,1.1); transform: translateX(-3.5px) translateY(-79px) scale(1.1,1.1); background: #00bdf5; } .option.scale-on .option3 { -webkit-transform: translateX(-3.5px) translateY(-233px) scale(1.1,1.1); transform: translateX(-3.5px) translateY(-233px) scale(1.1,1.1); background: #a72db2; } .option.scale-on .option4 { -webkit-transform: translateX(-3.5px) translateY(-310px) scale(1.1,1.1); transform: translateX(-3.5px) translateY(-310px) scale(1.1,1.1); border-radius: 7% 7% 0% 0%; background: #109d58; }
$(document).ready(function () { $('.social-button-toggle').on("click", function () { $(this).toggleClass('open'); $(this).find('span').toggleClass('fa-plus fa-bars'); $('.option').toggleClass('scale-on'); }); });

Please Subscribe Your Email Address, We Will Notify You When Add New Snippet:





Random Post


Random Blog