Use bootstrap in visualforce page

Hi All,

This is a simple post which covers how to add and use bootstrap css in your Visualforce page.

There are some bootstrap related posts which you can read it here.

You will get to know how simple it is to achieve this after reading this post.

Steps to follow

  1. Add bootstrap css
  2. Use bootstrap css in Visualforce page

Add bootstrap css

You can add the bootstrap css in two ways 

Use Bootstrap in lightning component

<aura:component implements="force:appHostable">
    <link href='/resource/1439362248000/heatspace__Bootstrap/bootstrap-sf1-0.1.0-beta.15/dist/css/bootstrap.min.css' rel="stylesheet"/>
    <ui:inputDate aura:id="dateField" label="Date :" displayDatePicker="true" class="form-control"/>

Hi geeky developers laugh,