<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Bootstrap%2FC2%2FGrid-System-in-Bootstrap%2FEnglish</id>
		<title>Bootstrap/C2/Grid-System-in-Bootstrap/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Bootstrap%2FC2%2FGrid-System-in-Bootstrap%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Bootstrap/C2/Grid-System-in-Bootstrap/English&amp;action=history"/>
		<updated>2026-05-02T12:45:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Bootstrap/C2/Grid-System-in-Bootstrap/English&amp;diff=55007&amp;oldid=prev</id>
		<title>Nehasolanki: Created page with &quot;'''Title of the script: '''Grid System in Bootstrap  '''Author:''' Neha Solanki  '''Domain Reviewer: '''Ankita Maske  '''Novice Reviewer:''' Abhijit Bonik  '''Keywords: '''Boo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Bootstrap/C2/Grid-System-in-Bootstrap/English&amp;diff=55007&amp;oldid=prev"/>
				<updated>2021-04-07T10:07:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the script: &amp;#039;&amp;#039;&amp;#039;Grid System in Bootstrap  &amp;#039;&amp;#039;&amp;#039;Author:&amp;#039;&amp;#039;&amp;#039; Neha Solanki  &amp;#039;&amp;#039;&amp;#039;Domain Reviewer: &amp;#039;&amp;#039;&amp;#039;Ankita Maske  &amp;#039;&amp;#039;&amp;#039;Novice Reviewer:&amp;#039;&amp;#039;&amp;#039; Abhijit Bonik  &amp;#039;&amp;#039;&amp;#039;Keywords: &amp;#039;&amp;#039;&amp;#039;Boo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the script: '''Grid System in Bootstrap&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Neha Solanki&lt;br /&gt;
&lt;br /&gt;
'''Domain Reviewer: '''Ankita Maske&lt;br /&gt;
&lt;br /&gt;
'''Novice Reviewer:''' Abhijit Bonik&lt;br /&gt;
&lt;br /&gt;
'''Keywords: '''Bootstrap, CSS, HTML, Web Page, Web Design, Web Technology, Video Tutorial, Spoken Tutorial, Row class, Column class, Column class with breakpoints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|  | '''Visual Cue'''&lt;br /&gt;
|  | '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Title&lt;br /&gt;
|  | Welcome to the Spoken Tutorial on '''“Grid System in Bootstrap”'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 2: &lt;br /&gt;
&lt;br /&gt;
Learning Objectives&lt;br /&gt;
|  | In this tutorial, we will learn about:&lt;br /&gt;
&lt;br /&gt;
* '''Row class'''&lt;br /&gt;
* '''Column class'''&lt;br /&gt;
* '''Column class with breakpoints'''&lt;br /&gt;
* '''12 Column class'''&lt;br /&gt;
* '''12 Column class with breakpoints'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 3: &lt;br /&gt;
&lt;br /&gt;
System Requirements&lt;br /&gt;
&lt;br /&gt;
|  | This tutorial is recorded using,&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux OS v 18.04 '''&lt;br /&gt;
* '''Bootstrap 4.6.0'''&lt;br /&gt;
* '''HTML5'''&lt;br /&gt;
* '''CSS3'''&lt;br /&gt;
* '''gedit Text Editor '''and&lt;br /&gt;
* '''Firefox web browser'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 4: Prerequisite &lt;br /&gt;
&lt;br /&gt;
https://spoken-tutorial.org&lt;br /&gt;
|  | &lt;br /&gt;
* To follow this tutorial, you should be familiar with '''HTML''' and '''CSS'''.&lt;br /&gt;
* If not, please go through the '''HTML '''and''' CSS '''tutorials on this '''website'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Grid System&lt;br /&gt;
&lt;br /&gt;
Image1.png&lt;br /&gt;
&lt;br /&gt;
Highlight container&lt;br /&gt;
&lt;br /&gt;
Highlight rows&lt;br /&gt;
&lt;br /&gt;
Highlight columns&lt;br /&gt;
|  | '''Grid system''' uses a '''container, row''' and '''column''' in series.&lt;br /&gt;
&lt;br /&gt;
We will create a '''layout''' as shown here at the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
First, a '''container''' is created using '''.container-lg class'''.&lt;br /&gt;
&lt;br /&gt;
Inside this, '''rows''' are created using '''.row class'''.&lt;br /&gt;
&lt;br /&gt;
Inside the '''row, columns''' are created using '''column classes.'''&lt;br /&gt;
&lt;br /&gt;
'''Row''' is used as a wrapper for '''columns'''.&lt;br /&gt;
&lt;br /&gt;
In this '''layout''', the 1st '''row''' has 1 '''column''', the 2nd '''row''' has 2 '''columns''' and the 3rd row has 3 '''columns'''.&lt;br /&gt;
&lt;br /&gt;
Let us see how to create this '''website layout'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to Mypage.html &amp;amp; Mystyle.css in My-bootstrap folder&lt;br /&gt;
&lt;br /&gt;
|  | Locate the files '''Mypage.html''' and '''Mystyle.css''' in the '''My-bootstrap''' folder.&lt;br /&gt;
&lt;br /&gt;
We will use '''Mypage.html''' and '''Mystyle.css files '''which we saved earlier''' '''for this demonstration.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 5: Code Files&lt;br /&gt;
|  |&lt;br /&gt;
* The files used in this tutorial are available in the '''Code Files''' link on this tutorial page.&lt;br /&gt;
* Please download and extract them.&lt;br /&gt;
* Make a copy and then use them while practising.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to Mypage.html in My-bootstrap folder&lt;br /&gt;
&lt;br /&gt;
Open the file in text editor&lt;br /&gt;
|  | Open the file '''Mypage.html''' in the '''text editor.'''&lt;br /&gt;
&lt;br /&gt;
Let us first see how to use the''' .row class'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt; Header &amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt; Content &amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt; Footer &amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|  | Replace the '''&amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; tag&amp;lt;/nowiki&amp;gt;''' with the code as shown here.&lt;br /&gt;
&lt;br /&gt;
Inside the '''container''', there are three '''&amp;lt;nowiki&amp;gt;&amp;lt;div&amp;gt;&amp;lt;/nowiki&amp;gt;''' sections with '''row class'''.&lt;br /&gt;
&lt;br /&gt;
Each section represents''' Header, Content '''and''' Footer''' for the '''web page.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to '''Mystyle.css''' in My-bootstrap folder&lt;br /&gt;
&lt;br /&gt;
Open Mystyle.css&lt;br /&gt;
|  | Let’s open the file '''Mystyle.css''' in the '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
.row {border: 3px solid orange;}&lt;br /&gt;
|  | After the''' .container-lg class''', type the code as shown.&lt;br /&gt;
&lt;br /&gt;
For better clarity, we have set a '''3 pixel solid orange border '''for '''.row class'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to Mypage.html in the My-bootstrap folder&lt;br /&gt;
&lt;br /&gt;
Open Mypage.html in Firefox&lt;br /&gt;
|  | Open the file '''Mypage.html''' in a '''web browser'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox]&lt;br /&gt;
|  | We see that 3 '''rows''' are added to the '''page''' which is defined in '''bootstrap.css'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Textbox [Press Ctrl+Shift+C]&lt;br /&gt;
&lt;br /&gt;
Right click &amp;gt;&amp;gt; Inspect Element&lt;br /&gt;
|  | Press '''Ctrl+Shift+C '''or right click on the page and select '''“Inspect Element”'''&lt;br /&gt;
&lt;br /&gt;
'''Inspect Element window '''opens.&lt;br /&gt;
|-&lt;br /&gt;
|  | Textbox [Press Ctrl+Shift+M]&lt;br /&gt;
&lt;br /&gt;
Click on Responsive Design Mode&lt;br /&gt;
|  | Press '''Ctrl+Shift+M '''or Click on the '''“Responsive Design Mode” '''at the top right of this window.&lt;br /&gt;
&lt;br /&gt;
Now the page is in '''responsive mode'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Using mouse, drag to change the size&lt;br /&gt;
|  | Let’s drag the right border, and increase and decrease the size of the screen.&lt;br /&gt;
&lt;br /&gt;
We see that the width of the '''rows''' also changes as per the size of the '''container'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | &lt;br /&gt;
|  | Next we’ll learn about '''column class.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Column Class&lt;br /&gt;
|  | &lt;br /&gt;
* '''.col''' '''class''' is used to create '''columns''' of equal width.&lt;br /&gt;
* '''.col-auto class''' is used to create '''columns''' that have width according to the content inside it.&lt;br /&gt;
&lt;br /&gt;
Let's see how to use '''column class''' with an example. &lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mypage.html&lt;br /&gt;
|  | Switch to the''' Mypage.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;div class=&amp;quot;container-lg&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h1 class=&amp;quot;text-danger&amp;quot;&amp;gt; Bharat Mart &amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Fruits &amp;amp; Vegetables &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Foodgrain &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Beverages &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Personal care &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Snacks &amp;amp; Branded Foods &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Welcome to Online Grocery Shopping!! &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Buy your essentials at the lowest price.&lt;br /&gt;
Choose from fresh produce to packaged goods&lt;br /&gt;
and get them delivered straight to your doorstep.&lt;br /&gt;
Shop for Rs.1000 and more to get FREE delivery. &amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; ABOUT BHARAT &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; About us &amp;lt;br&amp;gt; FAQ &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-auto&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; PAYMENT AND SHIPPING &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Payment Methods &amp;lt;br&amp;gt; Shipping Policy &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; CONTACT US &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; contact@bharat-online.com &amp;lt;br&amp;gt; 9000000001 &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|  | Update the '''container''' section''' '''as shown here.&lt;br /&gt;
&lt;br /&gt;
For the 1st '''row,''' we have created a single '''column''' using '''.col class''' which has a '''heading'''.&lt;br /&gt;
&lt;br /&gt;
For the 2nd '''row,''' we have created two equal width '''columns''' using '''.col class'''.&lt;br /&gt;
&lt;br /&gt;
The 1st '''column''' has a list and the 2nd '''column''' has some content.&lt;br /&gt;
&lt;br /&gt;
For the 3rd '''row,''' we have created three '''columns''' with some content.&lt;br /&gt;
&lt;br /&gt;
We have used '''.co'''l '''class''' for 1st and 3rd '''columns''', and '''.col-auto''' '''class''' for 2nd '''column'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mystyle.css&lt;br /&gt;
|  | Switch to the '''Mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
.col {border: 2px solid navy;}&lt;br /&gt;
&lt;br /&gt;
.col-auto {border: 5px solid navy;}&lt;br /&gt;
|  | Next to the .'''row class''', type the '''column classes''' as shown here.&lt;br /&gt;
&lt;br /&gt;
For better clarity, we have set a '''2 pixel solid navy border''' for''' .col class'''&lt;br /&gt;
&lt;br /&gt;
And '''5 pixel solid navy border '''for''' .col-auto class'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox]&lt;br /&gt;
&lt;br /&gt;
Point as per the narration&lt;br /&gt;
|  | In this '''layout''', the 1st '''row''' has a single '''column''' with '''heading'''.&lt;br /&gt;
&lt;br /&gt;
The 2nd '''row''' has two '''columns''' with equal width.&lt;br /&gt;
&lt;br /&gt;
The 3rd '''row''' has three '''columns'''.&lt;br /&gt;
&lt;br /&gt;
In the 2nd '''column,''' width is set according to the content inside it.&lt;br /&gt;
&lt;br /&gt;
The remaining space is equally divided between 1st and 3rd '''columns'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Using mouse, drag to change the size&lt;br /&gt;
|  | By dragging the right border, we’ll increase and decrease the width of the screen.&lt;br /&gt;
&lt;br /&gt;
Observe that the width of the '''columns''' also changes as per the size of the '''container'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Column Class with Breakpoints&lt;br /&gt;
&lt;br /&gt;
table1.png&lt;br /&gt;
|  | We can also create '''column class''' with '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
This table shows the '''.col classes''' for different '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
They have '''100%''' width until the '''breakpoint''' is reached.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Column Class with Breakpoints&lt;br /&gt;
&lt;br /&gt;
table2.png&lt;br /&gt;
|  | Similarly,''' '''these are the '''.col-auto classes''' for different '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
You can try these '''classes''' on your own.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: 12 Column Class&lt;br /&gt;
|  | Next, we’ll learn how to create unequal width '''columns''' using a 12''' column class'''.&lt;br /&gt;
&lt;br /&gt;
* A '''row''' is divided into 12''' '''equal width '''columns'''.&lt;br /&gt;
* '''.col-{*}''' '''class''' is used to create '''columns''' of equal and unequal widths.&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;''' represents the number of '''columns''' out of 12.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: 12 Column Class - Example&lt;br /&gt;
&lt;br /&gt;
Example1.png&lt;br /&gt;
&lt;br /&gt;
Example2.png&lt;br /&gt;
&lt;br /&gt;
Example3.png&lt;br /&gt;
|  | Few '''columns''' can be combined to create a single '''column'''.&lt;br /&gt;
&lt;br /&gt;
For example, '''.col-6''' '''class''' is used to divide this row into two equal '''columns'''.&lt;br /&gt;
&lt;br /&gt;
In this case, '''.col-7 '''and''' .col-5''' '''classes''' are used to divide this row into two unequal '''columns'''.&lt;br /&gt;
&lt;br /&gt;
Here '''.col-3, .col-4 '''&amp;amp;''' .col-5''' '''classes''' are used to divide this '''row''' into 3 unequal '''columns'''.&lt;br /&gt;
&lt;br /&gt;
Notice that the sum of no. of '''columns''' should not be greater than 12.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mypage.html&lt;br /&gt;
|  | Switch to the''' Mypage.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Fruits &amp;amp; Vegetables &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Foodgrain &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Beverages &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Personal care &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Snacks &amp;amp; Branded Foods &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-9&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Welcome to Online Grocery Shopping!! &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Buy your essentials at the lowest price.&lt;br /&gt;
Choose from fresh produce to packaged goods&lt;br /&gt;
and get them delivered straight to your doorstep.&lt;br /&gt;
Shop for Rs.1000 and more to get FREE delivery. &amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; ABOUT BHARAT &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; About us &amp;lt;br&amp;gt; FAQ &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; PAYMENT AND SHIPPING &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Payment Methods &amp;lt;br&amp;gt; Shipping Policy &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; CONTACT US &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; contact@bharat-online.com &amp;lt;br&amp;gt; 9000000001 &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|  | In the 2nd '''row''',for the 1st '''column''' change the '''column class''' to '''col-3.'''&lt;br /&gt;
&lt;br /&gt;
For the 2nd '''column''' change the '''column class''' to '''col-9'''.&lt;br /&gt;
&lt;br /&gt;
For the 3rd '''row''', change all the three '''column classes''' to '''col-3.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mystyle.css&lt;br /&gt;
|  | Switch to the '''Mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
.col-3, .col-9 {border: 2px dotted navy;}&lt;br /&gt;
|  | Next to the '''.col class''', update the '''column classes''' as shown here.&lt;br /&gt;
&lt;br /&gt;
For better clarity, we have set a '''2 pixel dotted navy border''' for '''.col-3 '''&amp;amp; '''.col-9''' '''classes'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
&lt;br /&gt;
Let us see the changes in the '''layout'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox]&lt;br /&gt;
&lt;br /&gt;
Using mouse, by dragging change the size&lt;br /&gt;
|  | Notice that the 2nd '''row''' has unequal width '''columns''' of grid 3 and 9.&lt;br /&gt;
&lt;br /&gt;
And the 3rd '''row''' has equal width '''columns''', each of grid 3.&lt;br /&gt;
&lt;br /&gt;
By dragging the right border, we’ll increase and decrease the width of the screen.&lt;br /&gt;
&lt;br /&gt;
We see that the width of the '''columns''' also changes as per the size of the '''container'''.&lt;br /&gt;
&lt;br /&gt;
Note that the ratio of width of '''columns''' i.e 1:3 for 2nd row &amp;amp; 1:1:1 for 3rd '''row''' remains constant. &lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mypage.html&lt;br /&gt;
|  | Switch to the '''Mypage.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;div class=&amp;quot;col-10&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Welcome to Online Grocery Shopping!! &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Buy your essentials at the lowest price.&lt;br /&gt;
Choose from fresh produce to packaged goods and&lt;br /&gt;
get them delivered straight to your doorstep. &lt;br /&gt;
Shop for Rs.1000 and more to get FREE delivery. &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|  | What happens if the sum of no. '''columns''' is greater than 12?&lt;br /&gt;
&lt;br /&gt;
Let’s check.&lt;br /&gt;
&lt;br /&gt;
For the 2nd''' row''', change the 2nd '''column''' class to '''col-10'''&lt;br /&gt;
&lt;br /&gt;
Notice that now the sum of no. of '''columns''' is 3+10=13, which is greater than 12.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mystyle.css&lt;br /&gt;
|  | Switch to the '''Mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
.col-3, .col-10 {border: 2px dotted navy;}&lt;br /&gt;
|  | Update the '''class''' as shown here&lt;br /&gt;
&lt;br /&gt;
For better clarity, we have set a '''2 pixel dotted navy border '''for '''.col-10 column class'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox]&lt;br /&gt;
&lt;br /&gt;
|  | Now the 2nd '''column''' is shifted to the next '''row'''.&lt;br /&gt;
&lt;br /&gt;
This is because space is not enough for it. &lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: 12 Column Class with Breakpoints&lt;br /&gt;
&lt;br /&gt;
table3.png&lt;br /&gt;
|  | We can also create a 12 '''column class''' with '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
Following are the 12 '''column classes''' for different '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
They have '''100%''' width until the '''breakpoint''' is reached.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mypage.html&lt;br /&gt;
|  | Switch to the '''Mypage.html '''file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Fruits &amp;amp; Vegetables &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Foodgrain &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Beverages &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Personal care &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;&amp;lt;li&amp;gt; Snacks &amp;amp; Branded Foods &amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-9&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt; Welcome to Online Grocery Shopping!! &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Buy your essentials at the lowest price.&lt;br /&gt;
Choose from fresh produce to packaged goods and&lt;br /&gt;
get them delivered straight to your doorstep.&lt;br /&gt;
Shop for Rs.1000 and more to get FREE delivery. &amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; ABOUT BHARAT &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; About us &amp;lt;br&amp;gt; FAQ &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; PAYMENT AND SHIPPING &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; Payment Methods &amp;lt;br&amp;gt; Shipping Policy &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5&amp;gt; CONTACT US &amp;lt;/h5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt; contact@bharat-online.com &amp;lt;br&amp;gt; 9000000001 &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|  | Now we’ll see how this '''class''' behaves for '''Medium''' screen size.&lt;br /&gt;
&lt;br /&gt;
In the 2nd '''row''', for the 1st '''column''' change the '''column class''' to '''col-md-3.'''&lt;br /&gt;
&lt;br /&gt;
For the 2nd '''column''' change the '''column class''' to '''col-md-9'''.&lt;br /&gt;
&lt;br /&gt;
For the 3rd '''row''', change the all three '''column classes''' to '''col-md-3'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mystyle.css&lt;br /&gt;
|  | Switch to the '''Mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
.col-md-3, .col-md-9 {border: 2px dashed navy;}&lt;br /&gt;
|  | Next to the '''.col class''', update the '''column classes''' as shown here.&lt;br /&gt;
&lt;br /&gt;
We have set a '''2 pixel dashed navy border''' for '''.col-md-3''' and '''.col-md-9 column classes'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox]&lt;br /&gt;
&lt;br /&gt;
Using mouse, by dragging change the size&lt;br /&gt;
&lt;br /&gt;
|  | &lt;br /&gt;
&lt;br /&gt;
By dragging the right border, we’ll decrease the width of the screen to below '''768px.'''&lt;br /&gt;
&lt;br /&gt;
Now each '''column''' takes 100% width.&lt;br /&gt;
|-&lt;br /&gt;
|  | Using mouse, by dragging change the size&lt;br /&gt;
|  | Let’s increase the width of the screen to '''768px '''or above.&lt;br /&gt;
&lt;br /&gt;
Now the '''columns''' of 2nd and 3rd '''row''' are in 1:3 and 1:1:1 ratio respectively.&lt;br /&gt;
&lt;br /&gt;
So the '''column''' has '''100%''' width until the''' Medium breakpoint''' is reached.&lt;br /&gt;
|-&lt;br /&gt;
|  | &lt;br /&gt;
|  | You can also try a 12 '''column class''' with other '''breakpoints'''.&lt;br /&gt;
&lt;br /&gt;
In this way we can create '''responsive website layouts''' with '''Bootstrap'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | With this we have come to the end of this tutorial. &lt;br /&gt;
&lt;br /&gt;
Let us now summarize.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 6: Summary &lt;br /&gt;
&lt;br /&gt;
|  | In this tutorial, we have learnt:&lt;br /&gt;
&lt;br /&gt;
* '''Row class'''&lt;br /&gt;
* '''Column class'''&lt;br /&gt;
* '''Column class with breakpoints'''&lt;br /&gt;
* '''12 Column class'''&lt;br /&gt;
* '''12 Column class with breakpoints'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide 8: Assignment&lt;br /&gt;
|  | As an assignment-&lt;br /&gt;
&lt;br /&gt;
* Open the '''Mypage.html''' file.&lt;br /&gt;
* For '''2nd''' '''row''' change the '''column class''' to&lt;br /&gt;
** '''.col-sm-3 '''for '''1st column.'''&lt;br /&gt;
** '''.col-sm-9 '''for '''2nd column.'''&lt;br /&gt;
* For '''3rd''' '''row''' change all the '''column class''' to .'''col-sm-3.'''&lt;br /&gt;
* Open the '''Mystyle.css''' file.&lt;br /&gt;
* Set '''2px solid navy border''' for '''.col-sm-3 '''and''' .col-sm-9 classes.'''&lt;br /&gt;
* Save both the files.&lt;br /&gt;
* Observe the output on the '''web browser.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: About Spoken Tutorial project&lt;br /&gt;
|  | The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Spoken Tutorial Workshops&lt;br /&gt;
|  | The Spoken Tutorial Project team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Forum&lt;br /&gt;
|  | Please post your timed queries on this forum.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Acknowledgement&lt;br /&gt;
|  | Spoken Tutorial project is funded by Ministry of Education (MoE), Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Thanks&lt;br /&gt;
|  | This is Neha Solanki from Spoken Tutorial, IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nehasolanki</name></author>	</entry>

	</feed>