Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Bootstrap for Rails
  • Table Of Contents Toc
Bootstrap for Rails

Bootstrap for Rails

By : Syed F Rahman
2.5 (2)
close
close
Bootstrap for Rails

Bootstrap for Rails

2.5 (2)
By: Syed F Rahman

Overview of this book

If you are a web developer who has a basic understanding of Ruby on Rails, this is the book for you. You should definitely have previous knowledge about HTML and how it works. However, CSS and JavaScript knowledge is optional for this book.
Table of Contents (13 chapters)
close
close
12
Index

Creating Bootstrap tables


Bootstrap tables are normal HTML tables, along with some special classes provided by Bootstrap. These classes come with various different CSS styles to be applied to the HTML tables. Hence, Bootstrap gives you multiple classes to create different types of tables, as per your requirements.

So, let's create a basic HTML table first. For this, create a dummy project called Bootstrap Tables and create an index.html file. Copy the following Bootstrap recommended HTML markup into this file:

<!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 Tables</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
  </head>
  <body>
    <!-- jQuery (necessary for...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Bootstrap for Rails
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon