Created
May 6, 2014 00:18
-
-
Save dirgagautama/11550592 to your computer and use it in GitHub Desktop.
Bootstrap 3 - Snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <snippet> | |
| <content><![CDATA[ | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>${1:Title Page}</title> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- Bootstrap --> | |
| <link href="css/bootstrap.min.css" rel="stylesheet"> | |
| <!-- <link href="css/bootstrap-theme.min.css" rel="stylesheet"> --> | |
| <!-- <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> --> | |
| <!-- <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.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.4.2/respond.min.js"></script> | |
| <![endif]--> | |
| </head> | |
| <body> | |
| <h1>Hello, world!</h1> | |
| ${2:} | |
| <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | |
| <script src="js/jQuery-1.11.min.js"></script> | |
| <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> --> | |
| <!-- Include all compiled plugins (below), or include individual files as needed --> | |
| <script src="js/bootstrap.min.js"></script> | |
| </body> | |
| </html> | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>bs3-template-basic</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>text.html, text.php</scope> | |
| <!-- <scope>source.php</scope> --> | |
| <description>Bootstrap Basic Template</description> | |
| </snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment