CAP Bootstrap - v1.2.0

This CAP framework is designed to work on top of the official twitter bootstrap framework. Please use the official site for detailed documentation (e.g. examples of HTML markup, grid system).

Example Page Layouts

SASS Files

The CAP bootstrap CSS is built with SASS. The source file is located under content/scss/cap_bootstrap.scss and is automatically compiled into the bundle CSS file.


Add the following to the head of your html. Internet Explorer 8 requires the use of Respond.js to enable media query support. Using Respond.js with CSS hosted on a different (sub)domain requires extra configuration. "/Scripts/respond.proxy.gif" & "/Scripts/respond.proxy.js" need to be hosted within the source project.

<link rel="stylesheet" type="text/css" href="" />
<!--[if lt IE 9]>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript" src=""></script>
    <link href="" id="respond-proxy" rel="respond-proxy" />
    <link href="/Scripts/respond.proxy.gif" id="respond-redirect" rel="respond-redirect" />
    <script src="/Scripts/respond.proxy.js"></script>

Add the following javascript files to the very bottom of your html (inside the body tag).

                <script src="//"></script>
<script src="" data-require="angular.js@1.2.x" data-semver="1.2.15"></script>
<script src=""></script>

AngularJS. The following attribute is required on the HTML tag. This will initialise AngularJS on the page and trigger any custom directives that are in the CAP Bootstrap framework.


New Versions

To create a new version of CAP Bootstrap, make a copy of the Areas/vX_X_X folder, renaming it to the required new version. The following files will then need renaming/amending:

  • Cap.Bootstrap.Web.UI\Areas\vX_X_X\vX_X_XAreaRegistration.cs - filename and content change
  • Cap.Bootstrap.Web.UI\Areas\vX_X_X\App_Start\BundleConfig.cs - content change