Book Image

Bootstrap for Rails

By : Syed F Rahman
Book Image

Bootstrap for Rails

By: Syed F Rahman

Overview of this book

Table of Contents (18 chapters)
Bootstrap for Rails
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up


In this chapter, we are going to use the same static website setup, Responsive_website_static, that was created in Chapter 3, Powering a Rails App with Bootstrap's Grid System. Copy the folder Responsive_website_static and rename it as Bootstrap_default_styles. Open the index.html file and remove everything from the <body> tag, except Bootstrap's JavaScript. Change the title of the page to Bootstrap default styles. Your index.html file should now have the following content:

<!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>Bootstrap default styles</title>
      <!-- Bootstrap -->
      <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
    </head>
  <body>
    <!-- jQuery (necessary...