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

Chapter 2. Introducing Bootstrap 3

In the last chapter, we learned how to create a simple Rails project, and how to change its default CSS styles. The styling process becomes more difficult if the developer is a newbie and has minimal knowledge of CSS. Bootstrap helps to solve this issue. It gives you access to some of the popular, ready-to-use reusable components such as stylish navigation bars, image containers, popovers, and so on. All you have to do is copy and customize the markup of the component you want to use.

In this chapter, you will understand what Bootstrap is, and how it is important for a Rails developer. We will see how to download and use Bootstrap in our Rails projects. We will again create the same Todo application in this chapter and apply Bootstrap styles to it.

In this chapter, we will cover:

  • What is Bootstrap?

  • Installing Bootstrap in a Rails project