Bootstrap snippet and html example. icon buttons

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: bootstrap,snippet,icon,buttons,css

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.1 included, to get the result that you can see in the preview selection

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"><div class="container bootstrap snippets bootdey">    <div class="buttons-preview">        <a class="btn btn-default btn-lg shiny icon-only blue" href="javascript:void(0);"><i class="fa fa-plus"></i></a>        <a class="btn btn-default shiny icon-only yellow" href="javascript:void(0);"><i class="fa fa-lock "></i></a>        <a class="btn btn-default btn-sm shiny icon-only danger" href="javascript:void(0);"><i class="fa fa-times "></i></a>        <a class="btn btn-default btn-xs shiny icon-only success" href="javascript:void(0);"><i class="fa fa-cog"></i></a>    </div></div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.1 included, to get the result that you can see in the preview selection

.buttons-preview .btn, .buttons-preview .btn-group {    margin-bottom: 10px;    margin-right: 10px;}.btn.shiny, .btn-default.shiny {    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0d…0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);    background-image: -webkit-linear-gradient(top,#fff 0,#ededed 100%);    background-image: -moz-linear-gradient(top,#fff 0,#ededed 100%);    background-image: -o-linear-gradient(top,#fff 0,#ededed 100%);    background-image: linear-gradient(to bottom,#fff 0,#ededed 100%);}.btn-lg.icon-only {    width: 40px;    height: 38px;    padding: 6px!important;}.btn.shiny {    -webkit-box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);    -moz-box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);    box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);    -webkit-border-radius: 3px;    -webkit-background-clip: padding-box;    -moz-border-radius: 3px;    -moz-background-clip: padding;    border-radius: 3px;    background-clip: padding-box;}.btn, .btn-default, .btn:focus, .btn-default:focus {    color: #444;    background-color: #fff;    border-color: #ccc;}.btn-lg {    line-height: 1.35;    padding: 9px 18px;    font-size: 14px;}.btn.icon-only>.fa, .btn.icon-only .typcn, .btn.icon-only .glyphicon, .btn.icon-only>[class*="wi-"] {    margin: 0;    vertical-align: middle;    text-align: center;    padding: 0;    font-size: 22px;    line-height: 22px;}.blue {    color: #5db2ff!important;}.danger {    color: #d73d32!important;}.yellow {    color: #ffce55!important;}.success {    color: #53a93f!important;}

Similar snippets

Bootstrap example and template. icon block

icon block

Bootstrap example and template. V card presentation

V card presentation

Bootstrap example and template. Profile overview

Profile overview

Bootstrap example and template. Profile bio

Profile bio

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. Invoice

Invoice

Bootstrap example and template. bs4 simple read email

bs4 simple read email

Bootstrap example and template. icon buttons

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 1.7K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.1

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working