Bootstrap Tutorial - Create Jumbotron with form








The following code shows how to create Jumbotron with form.

Example

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-git2.js'></script>
<script type='text/javascript'
  src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<style type='text/css'>
body {<!--from  w w  w . ja  va  2 s.  c  o m-->
  margin: 10px;
}

.input-group-lg>.form-control, .input-group-lg>.input-group-addon,
  .input-group-lg>.input-group-btn>.btn {
  height: 49px;
}
</style>
</head>
<body>
  <div class="jumbotron">
    <h1>Jumbotron with form</h1>
    <form>
      <div class="input-group input-group-lg">
        <input type="text" class="form-control" placeholder="Username">
        <span class="input-group-addon">@</span>
      </div>
    </form>
  </div>
</body>
</html>

Click to view the demo