Want to get a space here? Contact us!
by

Thank the author with a small donation using PayPal.

0
Popularity: 5767th place
73 Views
2 Badges
Top 10% !
Specified
Created
Modified on Feb 13, 2014
This snippet is Public
None ... yet!
SourceGithub

Bootstrap cheat sheet

Bootstrap cheat sheet: 
bootstrap cheat sheet
post this code
<iframe id="embedFrame" style="width:600px; height:300px;" src="http://www.snip2code.com/Embed/29013/Bootstrap-cheat-sheet"></iframe>
Click on the embed code to copy it into your clipboard Width:Height:
Leave empty to retrieve all the content First Line:Last Line:
** download bootstrap from bootstrap site

**Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap

**download jquery.its needed.

**below is a template of a basic html file with bootstrap inclusive

**<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap 101 Template</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <h1>Hello, world!</h1>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://code.jquery.com/jquery.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>

If you want to be updated about similar snippets, Sign in and follow our Channels
Originally posted on https://gist.github.com/8979097