Twitter Bootstrap 3.x Clips for Panic Coda 2
- All resulting html code from these clips is indented with standard tabs. Bootstrap two spaces sucks.
- Some clips like
table + TAB,select + TABorform + TABare not included to avoid conflicts because they are already here in coda default clips.
New clips will come soon...
Copy Bootstrap.clips and paste it in the Coda Clips folder:
/Users/[OSX Username]/Library/Application Support/Coda 2/Clips
Type bootstrap and press TAB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<!-- css -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header id="site-header">
</header><!-- #site-header -->
<main id="site-content" role="main">
</main><!-- #site-content -->
<footer id="site-footer" role="contentinfo">
</footer><!-- #site-footer -->
<!-- js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>Type container and press TAB
<div class="container">
</div><!-- .container -->Type container-fluid and press TAB
<div class="container-fluid">
</div><!-- .container-fluid -->Type row and press TAB
<div class="row">
</div><!-- .row -->Type col-xs and press TAB
<div class="col-xs-">
</div>Type col-sm and press TAB
<div class="col-sm-">
</div>Type col-md and press TAB
<div class="col-md-">
</div>Type col-lg and press TAB
<div class="col-lg-">
</div>Type lead and press TAB
<p class="lead">
</p>Type blockquote and press TAB
<blockquote>
<p></p>
</blockquote>Type table-striped and press TAB
<table class="table table-striped">
</table>Type table-bordered and press TAB
<table class="table table-bordered">
</table>Type table-hover and press TAB
<table class="table table-hover">
</table>Type table-condensed and press TAB
<table class="table table-condensed">
</table>Type table-responsive and press TAB
<div class="table-responsive">
<table class="table">
</table>
</div>Type inline-form and press TAB
<form class="form-inline">
</form>Type horizontal-form and press TAB
<form class="form-horizontal">
</form>Type form-group and press TAB
<div class="form-group">
<label for=""></label>
<input type="" class="form-control" id="" name="" placeholder="">
</div>Type checkbox and press TAB
<div class="checkbox">
<label>
<input type="checkbox" name="" id="" value="">
</label>
</div>Type radio and press TAB
<div class="radio">
<label>
<input type="radio" name="" id="" value="">
</label>
</div>Type checkbox-inline and press TAB
<label class="checkbox-inline">
<input type="checkbox" name="" id="" value="">
</label>Type radio-inline and press TAB
<label class="radio-inline">
<input type="radio" name="" id="" value="">
</label>Type select-multiple and press TAB
<select multiple class="form-control" name="">
<option value=""></option>
<option value=""></option>
</select>Type btn-default and press TAB
<a href="" class="btn btn-default"></a>Type btn-primary and press TAB
<a href="" class="btn btn-primary"></a>Type btn-success and press TAB
<a href="" class="btn btn-success"></a>Type btn-info and press TAB
<a href="" class="btn btn-info"></a>Type btn-warning and press TAB
<a href="" class="btn btn-warning"></a>Type btn-danger and press TAB
<a href="" class="btn btn-danger"></a>Type btn-link and press TAB
<a href="" class="btn btn-link"></a>Type img-responsive and press TAB
<img class="img-responsive" src="" alt="">Type img-rounded and press TAB
<img class="img-rounded" src="" alt="">Type img-circle and press TAB
<img class="img-circle" src="" alt="">Type img-thumbnail and press TAB
<img class="img-thumbnail" src="" alt="">Type navbar and press TAB
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"></a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
</ul>
</div><!-- .navbar-collapse -->
</div><!-- .container-fluid -->
</nav><!-- .navbar -->Type pagination and press TAB
<nav>
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>Type alert-success and press TAB
<div class="success alert-success" role="alert"></div>Type alert-info and press TAB
<div class="alert alert-info" role="alert"></div>Type alert-warning and press TAB
<div class="alert alert-warning" role="alert"></div>Type alert-danger and press TAB
<div class="alert alert-danger" role="alert"></div>Type panel and press TAB
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"></h3>
</div>
<div class="panel-body">
</div>
</div>Type accordion and press TAB
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Collapsible Group Item #1</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
Panel 1 body....
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">Collapsible Group Item #2</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
Panel 2 body....
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">Collapsible Group Item #3</a>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
Panel 3 body....
</div>
</div>
</div>
</div><!-- .panel-group -->Type breadcrumb and press TAB
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">Library</a></li>
<li class="active">Data</li>
</ol>Type carousel and press TAB
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="http://placehold.it/900x500" alt="">
<div class="carousel-caption">
Caption 1
</div>
</div>
<div class="item">
<img src="http://placehold.it/900x500" alt="">
<div class="carousel-caption">
Caption 2
</div>
</div>
<div class="item">
<img src="http://placehold.it/900x500" alt="">
<div class="carousel-caption">
Caption 3
</div>
</div>
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- .carousel -->