function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shifs SalheenShifs Salheen 

Make VF pages responsive

How can my make my Visualforce pages responsive?
Jasveer SinghJasveer Singh
Hi Salheen
                  Use this code 
and upload the bootstrap file in static resource by the name of boot

<apex:page standardStylesheets="false" showHeader="false">
   <apex:Stylesheet value="{!URLFOR($Resource.boot,'bootstrap-3.3.6-dist/css/bootstrap.min.css')}"/>
   <apex:Stylesheet value="{!URLFOR($Resource.boot,'bootstrap-3.3.6-dist/css/bootstrap.css')}"/>​
<apex:form >
<apex:pageBlock >
<apex:commandButton value="Submit" styleClass="btn btn-default dropdown-toggle"/>
<div class="alert alert-success" role="alert">Yes You Done It</div>
<div class="alert alert-warning" role="alert">Alert</div>
<div class="alert alert-danger" role="alert">Danger</div>

Thanks & Regards
Jasveer Singh