Bootstrap button controlled collapsible

A simple example of a Bootstrap button controlled collapsible.
<!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>

<button type="button" class="btn btn-warning" data-toggle="collapse" data-target="#demo">Click me!</button>

<div id="demo" class="collapse in">
  This collapsible is being controlled by a button directly from the layout using Bootstrap. 
  It is a very useful example, which can be adopted in your future mobile applications.
  Hope that you like it.
</div>

<script>
</script>

</body>
</html>

Responses

0 Replies