Bootstrap button menu

A simple example of Bootstrap button menu.
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="Bootstrap example for Tizen"/>
    
    <title>Bootstrap example for Tizen</title>
    
 <link rel="stylesheet" href="css/bootstrap.min.css">
  <script src="js/jquery-2.1.4.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
</head>
<body>

<div class="btn-group">
	<div class="btn-group">
		<button type="button" class="btn btn-default btn-xs">A default button</button>
	</div>
<div class="btn-group">
    <button type="button" class="btn btn-primary dropdown-toggle btn-xs" data-toggle="dropdown">
    A button as menu <span class="caret"></span></button>
    <ul class="dropdown-menu" role="menu">
      <li><a href="#">My first item</a></li>
      <li><a href="#">My second item</a></li>
      <li><a href="#">My third item</a></li>
      <li><a href="#">My fourth item</a></li>
    </ul>
  </div>
  <div class="btn-group">
		<button type="button" class="btn btn-primary btn-xs">A primary button</button>
  </div>
</div>

<script>
</script>

</body>
</html>

Responses

0 Replies