by
0
137 Views
3 Badges
Top 5% !
Popular
Specified
Popularity: 4712nd place
Created
Modified Feb 13, 2014
This snippet is Public
No tags for this snippet yet.
SourceGithub

Bootstrap cheat sheet

Bootstrap cheat sheet: 
bootstrap cheat sheet
post this code
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="http://www.snip2code.com/Embed/29013/Bootstrap-cheat-sheet?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
** 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