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

Summary


Out of all the methods of importing/installing Bootstrap in a Rails project, I would definitely suggest you to go with the Sass way. Developers familiar with Sass should definitely go for it.

Sass allows developers to completely customize Bootstrap's default styles and behavior. As we will progress with this book, we will see how to customize Bootstrap through Sass. Sass brings modularity to the CSS world. It brings the programming capability in it. You can use variables, functions, inheritance, and so on using Sass.

CDN is another better alternative but is very risky. CDN is generally blocked in many secure networks. In such cases, your application will load without any Bootstrap files. CDN also reduces the performance of the web app by sending an extra request to a different network. Hope you have got a fair idea of what Bootstrap is through this chapter. It is an extremely useful framework that enforces rapid development by the use of its HTML and CSS components. In the coming chapters...