Bootstrap snippet: highlighted buttons

designed to help people of all skill levels - designer or developer, huge nerd or early beginner.
copy and paste the code. Use it as a complete kit or use it to start something more complex.
tags: buttons



<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> <body> <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> <br> <br> <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> <br> <br> <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> </div> </div> </body> </div>
body{margin-top:20px;} 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;}
Dey-Dey

highlighted buttons

Dey-Dey
  Nov 4th 2015, 13:55
86 Views