bootstrap styled buttons

Just in-case you would like the shiny (flat/rounded) blue buttons from bootstrap without all the css.

Example Button

add the class btn and btn-primary to your link

An Example Primary Button (btn-primary) An Example Button (btn)

<a href='#!' class='btn btn-primary'>An Example Primary Button (btn-primary)</a> <a href='#!' class='btn'>An Example Button (btn)</a>


a.btn {
	text-decoration: none;
a.btn.btn-primary {
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
.btn-primary {
    color: #fff;
    background-color: #0275d8;
    border-color: #0275d8;
.btn-primary:hover {
    color: #fff;
    background-color: #025aa5;
    border-color: #01549b;


<a href='#!' class='btn btn-primary'>An Example button</a>


Other Items in css
Page Views

This page has been viewed 113 times.

Search Code
Search Code by entering your search text above.

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.