SlideShare a Scribd company logo
2
Most read
3
Most read
Twitter Bootstrap
(Css, Components, JavaScript)
Presented By: Ali Tanwir
Agenda

Overview

Advantages of Bootstrap

How to get Bootstrap

Create first web page

Understanding meta tag

Containers

Grid System

Components
Overview

Bootstrap was developed by Mark Otto and
Jacob Thornton at Twitter, and released as
an open source product in August 2011 on
GitHub (No. 1 project on GitHub on June
‘14).

It is a free front-end framework for faster
and easier web development.

It is a set of predefined CSS classes and a
JQuery functions.
Ad
Advantages of Bootstrap

Easy to use

Responsive features

Consistent Design

Mobile-first approach

Browser compatibility
How to get Bootstrap

Download Bootstrap from getbootstrap.com

Add Twitter Bootstrap in
BuildConfig.groovy file under plugins,
// plugins needed at runtime but not for
compilation
runtime ':twitter-bootstrap:3.3.4'

Include Bootstrap from a CDN (Content
Delivery Network)

Latest compiled and minified CSS
Ad
Create First Web Page

Add the HTML5 doctype
− Bootstrap uses HTML elements and CSS
properties that require the HTML5 doctype.
− Always include the HTML5 doctype at the
beginning of the page, along with the lang
attribute and the correct character set.

Add viewport <meta> tag inside the <head>
element
− To ensure proper rendering and touch zooming,
add viewport <meta> tag inside the <head>
element:
Understanding <meta> tag
<meta name="viewport"
content="width=device-width, initial-
scale=1">

The width=device-width part sets the width
of the page to follow the screen-width of the
device (which will vary depending on the
device).

Ad
Containers

Creating Fixed Layout
The process of creating the fixed yet
responsive layout starts with the .container
class. After that create rows with the .row
class to wrap the horizontal groups of
columns. Rows must be placed within a
container for proper alignment and padding.
<div class="container">
<div class="row">
...

Creating Fluid Layout
The class .container-fluid simply applies the
horizontal margin with the value auto and
left and right padding of 15px on element to
offset the left and right margin of -15px (i.e.
margin: 0 -15px;) used on the .row.
It create the fluid layouts in order to utilize the
100% width of the viewport.
<div class="container-fluid">
<div class="row">
Ad
Grid System
Bootstrap includes a responsive, mobile first
fluid grid system that appropriately scales
up to 12 columns as the device or
viewport size increases.
Grid systems are used for creating page
layouts through a series of rows and
columns that house your content. Here's
how the Bootstrap grid system works:

Rows must be placed within a .container
(fixed-width) or .container-fluid (full-*click on the Gid System heading to open a reference webpage.

Grid columns are created by specifying the
number of 12 available columns you wish
to span. For example, 3 equal columns
would use three .col-xs-4.

If more than 12 columns are placed within a
single row, each group of extra columns
will, as one unit, wrap onto a new line.

Grid classes apply to devices with screen
widths greater than or equal to the
breakpoint sizes, and override grid classes
Ad
Grid System Table
*click on the Gid System Table image to open a reference webpage.
Components

Over a dozen reusable components built to
provide iconography, dropdowns, input
groups, navigation, alerts, and much more.
− Dropdowns
− Navs
− Navbar
− Breadcrumbs
− Pagination
*click on the Components & types of components to open a reference webpage.
Ad
Bootstrap JavaScript

Bring Bootstrap's components to life with
over a dozen custom jQuery plugins. Easily
include them all, or one by one.

Plugins can be included individually (using
Bootstrap's individual *.js files), or all at
once (using bootstrap.js or the minified
bootstrap.min.js).
*click on the Bootstrap Javascript heading to open a reference webpage.
List of Javascripts & Demo

Transitions (transition.js)

Modals (modal.js)

Dropdowns (dropdown.js)

ScrollSpy (scrollspy.js)

Togglable tabs (tab.js)

Tooltips (tooltip.js)

Popovers (popover.js)

Alert messages (alert.js)*click on the names of the list of javascripts to open a reference webpage.
Ad
References

CSS reference from -
http://getbootstrap.com/css/

Components reference from -
http://getbootstrap.com/components/

Javascripts reference from -
http://getbootstrap.com/javascript/

Containers reference from -
− http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-fixed-
− http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-fluid-

For further modifications into Boostrap
Thank
You !
Ad
Ad

More Related Content

What's hot (20)

PPT
Introduction to BOOTSTRAP
48 slides1.7K views
PPTX
Introduction to Bootstrap
14 slides1.2K views
PPTX
Bootstrap 3
28 slides2.2K views
PPS
Introduction to Bootstrap: Design for Developers
33 slides1.4K views
PPTX
Presentation of bootstrap
16 slides17.9K views
PPS
Bootstrap 3 vs. bootstrap 4
21 slides10.5K views
PPTX
A beginner's guide to twitter bootstrap
35 slides2.3K views
PPTX
Twitter bootstrap
17 slides526 views
PPTX
Bootstrap [part 1]
173 slides655 views
PPTX
Intro To Twitter Bootstrap
64 slides2.2K views
PPTX
Bootstrap - Web Development Framework
13 slides3.9K views
PPTX
Bootstrap [part 2]
110 slides931 views
PPTX
Bootstrap 3.1.1
14 slides3.5K views
PDF
Bootstrap
32 slides38.2K views
PPTX
Bootstrap 3
54 slides2.6K views
PPTX
Bootstrap Introduction
8 slides3.1K views
PPTX
Bootstrap
37 slides1.2K views
PPTX
Bootstrap Framework
24 slides3.4K views
PPTX
Bootstrap Web Development Framework
13 slides2.4K views
PPTX
Bootstrap ppt
11 slides12.7K views
Introduction to BOOTSTRAP
48 slides1.7K views
Introduction to Bootstrap
14 slides1.2K views
Bootstrap 3
28 slides2.2K views
Introduction to Bootstrap: Design for Developers
33 slides1.4K views
Presentation of bootstrap
16 slides17.9K views
Bootstrap 3 vs. bootstrap 4
21 slides10.5K views
A beginner's guide to twitter bootstrap
35 slides2.3K views
Twitter bootstrap
17 slides526 views
Bootstrap [part 1]
173 slides655 views
Intro To Twitter Bootstrap
64 slides2.2K views
Bootstrap - Web Development Framework
13 slides3.9K views
Bootstrap [part 2]
110 slides931 views
Bootstrap 3.1.1
14 slides3.5K views
Bootstrap
32 slides38.2K views
Bootstrap 3
54 slides2.6K views
Bootstrap Introduction
8 slides3.1K views
Bootstrap
37 slides1.2K views
Bootstrap Framework
24 slides3.4K views
Bootstrap Web Development Framework
13 slides2.4K views
Bootstrap ppt
11 slides12.7K views

Similar to Twitter bootstrap (css, components and javascript) (20)

PPTX
Bootstrap - Basics
55 slides1.3K views
PPT
Responsive web design
22 slides182 views
PPTX
Create Responsive Website Design with Bootstrap 3
44 slides949 views
PPTX
ICT Presentjrjdjdjdkkdkeeation Final.pptx
21 slides30 views
PPTX
Bootstrap
25 slides115 views
PPTX
Anvesh_BOOTSTRAP.pptx
10 slides16 views
PPT
Hello Android
22 slides710 views
PDF
Bootstrap day1
13 slides647 views
PPTX
Bootstrap SLIDES for web development course
57 slides81 views
PDF
HTML & CSS #10 : Bootstrap
32 slides1K views
PPT
Chapter12 (1)
47 slides209 views
PPTX
Unit 2 - Data Binding.pptx
33 slides224 views
PDF
GridView,Recycler view, API, SQLITE& NetworkRequest.pdf
40 slides67 views
DOC
Creating a dot netnuke
38 slides325 views
PDF
ViA Bootstrap 4
30 slides591 views
PDF
Introduction to Responsive Web Development
35 slides478 views
PDF
Pemrograman Web 4 - Bootstrap 3
29 slides447 views
PPTX
Adapter and adapter views that are used in android
10 slides41 views
PPS
Actionview
50 slides218 views
PPTX
Lecture-03.pptx
31 slides10 views
Bootstrap - Basics
55 slides1.3K views
Responsive web design
22 slides182 views
Create Responsive Website Design with Bootstrap 3
44 slides949 views
ICT Presentjrjdjdjdkkdkeeation Final.pptx
21 slides30 views
Bootstrap
25 slides115 views
Anvesh_BOOTSTRAP.pptx
10 slides16 views
Hello Android
22 slides710 views
Bootstrap day1
13 slides647 views
Bootstrap SLIDES for web development course
57 slides81 views
HTML & CSS #10 : Bootstrap
32 slides1K views
Chapter12 (1)
47 slides209 views
Unit 2 - Data Binding.pptx
33 slides224 views
GridView,Recycler view, API, SQLITE& NetworkRequest.pdf
40 slides67 views
Creating a dot netnuke
38 slides325 views
ViA Bootstrap 4
30 slides591 views
Introduction to Responsive Web Development
35 slides478 views
Pemrograman Web 4 - Bootstrap 3
29 slides447 views
Adapter and adapter views that are used in android
10 slides41 views
Actionview
50 slides218 views
Lecture-03.pptx
31 slides10 views
Ad

More from NexThoughts Technologies (20)

PDF
Alexa skill
53 slides1.2K views
PDF
GraalVM
15 slides1K views
PDF
Docker & kubernetes
45 slides9.6K views
PDF
Apache commons
14 slides235 views
PDF
HazelCast
29 slides562 views
PPTX
MySQL Pro
57 slides212 views
PDF
Microservice Architecture using Spring Boot with React & Redux
26 slides4.8K views
PDF
Swagger
19 slides1.9K views
PDF
Solid Principles
10 slides1.5K views
PDF
Arango DB
15 slides556 views
PDF
Jython
26 slides478 views
PDF
Introduction to TypeScript
33 slides161 views
PDF
Smart Contract samples
3 slides103 views
PDF
My Doc of geth
16 slides69 views
PDF
Geth important commands
7 slides187 views
PDF
Ethereum genesis
PDF
Ethereum
24 slides3.9K views
PPTX
Springboot Microservices
20 slides5K views
PDF
An Introduction to Redux
24 slides1.8K views
PPTX
Google authentication
15 slides1K views
Alexa skill
53 slides1.2K views
GraalVM
15 slides1K views
Docker & kubernetes
45 slides9.6K views
Apache commons
14 slides235 views
HazelCast
29 slides562 views
MySQL Pro
57 slides212 views
Microservice Architecture using Spring Boot with React & Redux
26 slides4.8K views
Swagger
19 slides1.9K views
Solid Principles
10 slides1.5K views
Arango DB
15 slides556 views
Jython
26 slides478 views
Introduction to TypeScript
33 slides161 views
Smart Contract samples
3 slides103 views
My Doc of geth
16 slides69 views
Geth important commands
7 slides187 views
Ethereum genesis
Ethereum
24 slides3.9K views
Springboot Microservices
20 slides5K views
An Introduction to Redux
24 slides1.8K views
Google authentication
15 slides1K views
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
9 slides183 views
PDF
A comparative study of natural language inference in Swahili using monolingua...
8 slides157 views
PPTX
Tartificialntelligence_presentation.pptx
10 slides108 views
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
9 slides127 views
PDF
Network Security Unit 5.pdf for BCA BBA.
15 slides136 views
PDF
Encapsulation_ Review paper, used for researhc scholars
42 slides397 views
PPTX
cloud_computing_Infrastucture_as_cloud_p
20 slides59 views
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
23 slides261 views
PDF
August Patch Tuesday
49 slides70 views
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
25 slides55 views
PDF
A comparative analysis of optical character recognition models for extracting...
12 slides89 views
PPTX
1. Introduction to Computer Programming.pptx
24 slides73 views
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
100 slides138 views
PPTX
Machine Learning_overview_presentation.pptx
30 slides96 views
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
13 slides99 views
PDF
Unlocking AI with Model Context Protocol (MCP)
37 slides194 views
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
76 slides274 views
PDF
Machine learning based COVID-19 study performance prediction
10 slides123 views
PDF
NewMind AI Weekly Chronicles - August'25-Week II
45 slides449 views
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
10 slides154 views
Spectral efficient network and resource selection model in 5G networks
9 slides183 views
A comparative study of natural language inference in Swahili using monolingua...
8 slides157 views
Tartificialntelligence_presentation.pptx
10 slides108 views
Mobile App Security Testing_ A Comprehensive Guide.pdf
9 slides127 views
Network Security Unit 5.pdf for BCA BBA.
15 slides136 views
Encapsulation_ Review paper, used for researhc scholars
42 slides397 views
cloud_computing_Infrastucture_as_cloud_p
20 slides59 views
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
23 slides261 views
August Patch Tuesday
49 slides70 views
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
25 slides55 views
A comparative analysis of optical character recognition models for extracting...
12 slides89 views
1. Introduction to Computer Programming.pptx
24 slides73 views
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
100 slides138 views
Machine Learning_overview_presentation.pptx
30 slides96 views
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
13 slides99 views
Unlocking AI with Model Context Protocol (MCP)
37 slides194 views
Building Integrated photovoltaic BIPV_UPV.pdf
76 slides274 views
Machine learning based COVID-19 study performance prediction
10 slides123 views
NewMind AI Weekly Chronicles - August'25-Week II
45 slides449 views
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
10 slides154 views

Twitter bootstrap (css, components and javascript)

  • 1. Twitter Bootstrap (Css, Components, JavaScript) Presented By: Ali Tanwir
  • 2. Agenda  Overview  Advantages of Bootstrap  How to get Bootstrap  Create first web page  Understanding meta tag  Containers  Grid System  Components
  • 3. Overview  Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter, and released as an open source product in August 2011 on GitHub (No. 1 project on GitHub on June ‘14).  It is a free front-end framework for faster and easier web development.  It is a set of predefined CSS classes and a JQuery functions.
  • 4. Advantages of Bootstrap  Easy to use  Responsive features  Consistent Design  Mobile-first approach  Browser compatibility
  • 5. How to get Bootstrap  Download Bootstrap from getbootstrap.com  Add Twitter Bootstrap in BuildConfig.groovy file under plugins, // plugins needed at runtime but not for compilation runtime ':twitter-bootstrap:3.3.4'  Include Bootstrap from a CDN (Content Delivery Network)  Latest compiled and minified CSS
  • 6. Create First Web Page  Add the HTML5 doctype − Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype. − Always include the HTML5 doctype at the beginning of the page, along with the lang attribute and the correct character set.  Add viewport <meta> tag inside the <head> element − To ensure proper rendering and touch zooming, add viewport <meta> tag inside the <head> element:
  • 7. Understanding <meta> tag <meta name="viewport" content="width=device-width, initial- scale=1">  The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device). 
  • 8. Containers  Creating Fixed Layout The process of creating the fixed yet responsive layout starts with the .container class. After that create rows with the .row class to wrap the horizontal groups of columns. Rows must be placed within a container for proper alignment and padding. <div class="container"> <div class="row"> ...
  • 9.  Creating Fluid Layout The class .container-fluid simply applies the horizontal margin with the value auto and left and right padding of 15px on element to offset the left and right margin of -15px (i.e. margin: 0 -15px;) used on the .row. It create the fluid layouts in order to utilize the 100% width of the viewport. <div class="container-fluid"> <div class="row">
  • 10. Grid System Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the Bootstrap grid system works:  Rows must be placed within a .container (fixed-width) or .container-fluid (full-*click on the Gid System heading to open a reference webpage.
  • 11.  Grid columns are created by specifying the number of 12 available columns you wish to span. For example, 3 equal columns would use three .col-xs-4.  If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.  Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes
  • 12. Grid System Table *click on the Gid System Table image to open a reference webpage.
  • 13. Components  Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more. − Dropdowns − Navs − Navbar − Breadcrumbs − Pagination *click on the Components & types of components to open a reference webpage.
  • 14. Bootstrap JavaScript  Bring Bootstrap's components to life with over a dozen custom jQuery plugins. Easily include them all, or one by one.  Plugins can be included individually (using Bootstrap's individual *.js files), or all at once (using bootstrap.js or the minified bootstrap.min.js). *click on the Bootstrap Javascript heading to open a reference webpage.
  • 15. List of Javascripts & Demo  Transitions (transition.js)  Modals (modal.js)  Dropdowns (dropdown.js)  ScrollSpy (scrollspy.js)  Togglable tabs (tab.js)  Tooltips (tooltip.js)  Popovers (popover.js)  Alert messages (alert.js)*click on the names of the list of javascripts to open a reference webpage.
  • 16. References  CSS reference from - http://getbootstrap.com/css/  Components reference from - http://getbootstrap.com/components/  Javascripts reference from - http://getbootstrap.com/javascript/  Containers reference from - − http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-fixed- − http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-fluid-  For further modifications into Boostrap
  • 17. Thank You !