highlighted buttons

Bootstrap snippet. highlighted buttons, this snippet was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: buttons

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="container">
<head><link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700&subset=latin,cyrillic,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'></head>
<div class="container">
    <div class="row">
	    <button class="btn btn-sm btn-default">Default</button>
        <button class="btn btn-sm btn-primary">Primary</button>
        <button class="btn btn-sm btn-info">Info</button>
        <button class="btn btn-sm btn-success">Success</button>
        <button class="btn btn-sm btn-danger">Danger</button>
        <button class="btn btn-sm btn-warning">Warning</button>
        <button class="btn btn-default">Default</button>
        <button class="btn btn-primary">Primary</button>
        <button class="btn btn-info">Info</button>
        <button class="btn btn-success">Success</button>
        <button class="btn btn-danger">Danger</button>
        <button class="btn btn-warning">Warning</button>
		<button class="btn btn-lg btn-default">Default</button>
        <button class="btn btn-lg btn-primary">Primary</button>
        <button class="btn btn-lg btn-info">Info</button>
        <button class="btn btn-lg btn-success">Success</button>
        <button class="btn btn-lg btn-danger">Danger</button>
        <button class="btn btn-lg btn-warning">Warning</button>

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body {text-rendering:optimizespeed;}
.btn:not(a) {border:0;border-bottom:0;border-left:0;font-weight:'900';font-family:'Ubuntu', sans-serif;box-shadow: inset 0 -3.2px rgba(0, 0, 0, 0.12),inset 2px 0 rgba(0, 0, 0, 0.1);outline:none;-webkit-outline:none;-o-outline:none;-moz-outline:none;}
.btn:active:not(a), .btn.active {outline:none;-moz-outline:none;background-image: none;-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;position: relative;box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;top: 1px;left:-1px;}
.btn:focus:not(a) {outline:none;-webkit-outline:none;-moz-outline:none;}
.btn-sm {padding-top:1.5px;}

Similar snippets

Bootstrap snippet Designer buttons

Designer buttons


Bootstrap snippet unify buttons

unify buttons


Bootstrap snippet inspinia buttons

inspinia buttons


About this snippet

Creator: Dey Dey

Bootstrap version: 3.3.4

Created: Nov 4th 2015, 13:55

Views: 317