Bootstrap Tutorial - Create inverse button from button element








The following code shows how to create inverse button from button element.

Example

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css">
<script type='text/javascript'
  src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>
<style type='text/css'>
html {<!--from w w w  .j  a va2s.c o m-->
  -webkit-font-smoothing: antialiased;
}
</style>
</head>
<body style='margin:30px'>

  <button class="btn btn-inverse">John Doe</button>
  <a class="btn btn-inverse">John Doe</a>
</body>
</html>

Click to view the demo