Responsive footer for Visualforce pages using Bootstrap

VisualFlow May 20, 2015

This post is on how to get responsive and fixed footer in an Visualforce Page, only one external library used Bootstrap

NOTE: Please copy as is to get desired output, find my comments on page elements

<apex:page sidebar="false" showHeader="false" applyBodyTag="false">
        <!--Bootstrap CSS --> 
        <link href="" rel="stylesheet" />        
        /*following css is responsible for responsive & fixed footer*/
        .footer {
            text-align: center;
            line-height: 4.5em;
            color: white;
            position: absolute;
            bottom: 0;
            width: inherit;
            height: 60px;
            margin: 0px auto !Important;
            left: 2%;        
            height: 60px;
            background-color: red;

        <div class="container">
            <div class="content">
                Page content goes here
            <!-- following is footer element, you can keep your content under <footer> tags -->
            <footer class="footer">
                Footer content goes here

Actual Output (on Desktop)

Actual Output (on iPad)

Happing Coding, Please comment below if you face any issues

Phanindra Mangipudi

Salesforce, Lightning Web Componets, Node.Js, Angular 2+, Bootstrap