1
0

forms-responsive.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Bootstrap, from Twitter</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <!-- Le styles -->
  10. <link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
  11. <link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
  12. <style>
  13. body {
  14. padding-top: 30px;
  15. padding-bottom: 30px;
  16. }
  17. </style>
  18. <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
  19. <!--[if lt IE 9]>
  20. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  21. <![endif]-->
  22. <!-- Le fav and touch icons -->
  23. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
  24. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
  25. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
  26. <link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
  27. <link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
  28. </head>
  29. <body>
  30. <form class="container">
  31. <div class="page-header">
  32. <h1>Fixed grid</h1>
  33. </div>
  34. <h3>Vertical alignment</h3>
  35. <input type="text" class="span2" placeholder="span2">
  36. <select class="span2"><option>span2</option></select>
  37. <span class="uneditable-input span2">span1</span>
  38. <h3>Width across elements</h3>
  39. <div>
  40. <input type="text" class="span2" placeholder="span2">
  41. </div>
  42. <div>
  43. <select class="span2"><option>span2</option></select>
  44. </div>
  45. <div>
  46. <span class="uneditable-input span2">span2</span>
  47. </div>
  48. <div class="page-header">
  49. <h1>Fluid grid</h1>
  50. </div>
  51. <div class="row-fluid">
  52. <input type="text" class="span2" placeholder="span2">
  53. <select class="span2"><option>span2</option></select>
  54. <span class="uneditable-input span2">span1</span>
  55. </div>
  56. </form> <!-- /container -->
  57. </body>
  58. </html>