售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Bootstrap for Rails
Table of Contents
Bootstrap for Rails
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Introducing Web Application Development in Rails
Why Bootstrap with Rails?
Setting up a Todo application in Rails
Analyzing folder structure of a Rails application
Creating views
Styling views using CSS
Redesigning the Todo application
Challenges in styling a Rails application traditionally
Summary
2. Introducing Bootstrap 3
What is Bootstrap?
Installing Bootstrap in a Rails project
Placing Bootstrap files in a Rails project
Bootstrap – the Sass way
Bootstrap through CDN
Summary
3. Powering a Rails App with Bootstrap's Grid System
What is Bootstrap's grid system?
Nesting columns
Implementing Bootstrap's grid system in a Rails application
Summary
4. Using Bootstrap's Typography, Buttons, and Images in a Rails Application
Setting up
Styling typography
Aligning text
Text transformation
Blockquotes
Styling listing elements
Creating and styling buttons
Which elements are eligible to use Bootstrap's button classes?
Styling images in Bootstrap
Summary
5. Reinventing Tables and Forms in Bootstrap
Creating Bootstrap tables
Creating Bootstrap forms
Validation classes in Bootstrap forms
Adding Bootstrap tables to our Rails application
Adding Bootstrap forms to our Rails application
Summary
6. Creating Navigation Bars
Getting started with a navigation bar
Navigation bar helper classes
Adding a navigation bar to the Rails application
Summary
7. Various Other Bootstrap Components
Bootstrap Breadcrumbs
The pagination component
Bootstrap labels and badges
Bootstrap jumbotrons
Alerts
Creating a progress bar
Panels
Summary
8. Working with Bootstrap Modals
Getting started with modals
Changing Bootstrap's modal size
Additional Bootstrap modal features
Fetching remote content from a Bootstrap modal
Using Bootstrap's modal in a Rails application
Summary
9. Creating Image Slideshows with Bootstrap Carousel
Getting started with Bootstrap Carousel
Adding captions to the slides
Customizing Carousel
Summary
10. Creating a Shopping Cart Using Bootstrap Modals
Adding a shopping cart symbol
Creating a shopping cart using modals
Summary
A. Adding Custom Styles to a Rails Application
Adding Bootstrap-sass to a Rails application
Customizing Bootstrap through variables
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜