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.
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
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).

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">
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
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.
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.
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 !

More Related Content

PPT
Twitter bootstrap training_session_ppt
PPTX
Bootstrap webtech presentation - new
PDF
Introduction to Twitter Bootstrap 3.0.3
PDF
Bootstrap
PDF
Introduction to Bootstrap
PPTX
An introduction to bootstrap
PPTX
Bootstrap PPT by Mukesh
PDF
Bootstrap
Twitter bootstrap training_session_ppt
Bootstrap webtech presentation - new
Introduction to Twitter Bootstrap 3.0.3
Bootstrap
Introduction to Bootstrap
An introduction to bootstrap
Bootstrap PPT by Mukesh
Bootstrap

What's hot (20)

PPT
Introduction to BOOTSTRAP
PPTX
Introduction to Bootstrap
PPTX
Bootstrap 3
PPS
Introduction to Bootstrap: Design for Developers
PPTX
Presentation of bootstrap
PPS
Bootstrap 3 vs. bootstrap 4
PPTX
A beginner's guide to twitter bootstrap
PPTX
Twitter bootstrap
PPTX
Bootstrap [part 1]
PPTX
Intro To Twitter Bootstrap
PPTX
Bootstrap - Web Development Framework
PPTX
Bootstrap [part 2]
PPTX
Bootstrap 3.1.1
PDF
Bootstrap
PPTX
Bootstrap 3
PPTX
Bootstrap Introduction
PPTX
Bootstrap
PPTX
Bootstrap Framework
PPTX
Bootstrap Web Development Framework
PPTX
Bootstrap ppt
Introduction to BOOTSTRAP
Introduction to Bootstrap
Bootstrap 3
Introduction to Bootstrap: Design for Developers
Presentation of bootstrap
Bootstrap 3 vs. bootstrap 4
A beginner's guide to twitter bootstrap
Twitter bootstrap
Bootstrap [part 1]
Intro To Twitter Bootstrap
Bootstrap - Web Development Framework
Bootstrap [part 2]
Bootstrap 3.1.1
Bootstrap
Bootstrap 3
Bootstrap Introduction
Bootstrap
Bootstrap Framework
Bootstrap Web Development Framework
Bootstrap ppt
Ad

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

PPTX
Bootstrap - Basics
PPT
Responsive web design
PPTX
Create Responsive Website Design with Bootstrap 3
PPTX
ICT Presentjrjdjdjdkkdkeeation Final.pptx
PPTX
Bootstrap
PPTX
Anvesh_BOOTSTRAP.pptx
PPT
Hello Android
PDF
Bootstrap day1
PPTX
Bootstrap SLIDES for web development course
PDF
HTML & CSS #10 : Bootstrap
PPT
Chapter12 (1)
PPTX
Unit 2 - Data Binding.pptx
PDF
GridView,Recycler view, API, SQLITE& NetworkRequest.pdf
DOC
Creating a dot netnuke
PDF
ViA Bootstrap 4
PDF
Introduction to Responsive Web Development
PDF
Pemrograman Web 4 - Bootstrap 3
PPTX
Adapter and adapter views that are used in android
PPS
Actionview
PPTX
Lecture-03.pptx
Bootstrap - Basics
Responsive web design
Create Responsive Website Design with Bootstrap 3
ICT Presentjrjdjdjdkkdkeeation Final.pptx
Bootstrap
Anvesh_BOOTSTRAP.pptx
Hello Android
Bootstrap day1
Bootstrap SLIDES for web development course
HTML & CSS #10 : Bootstrap
Chapter12 (1)
Unit 2 - Data Binding.pptx
GridView,Recycler view, API, SQLITE& NetworkRequest.pdf
Creating a dot netnuke
ViA Bootstrap 4
Introduction to Responsive Web Development
Pemrograman Web 4 - Bootstrap 3
Adapter and adapter views that are used in android
Actionview
Lecture-03.pptx
Ad

More from NexThoughts Technologies (20)

PDF
PDF
Docker & kubernetes
PDF
Apache commons
PDF
Microservice Architecture using Spring Boot with React & Redux
PDF
Solid Principles
PDF
Introduction to TypeScript
PDF
Smart Contract samples
PDF
My Doc of geth
PDF
Geth important commands
PDF
Ethereum genesis
PPTX
Springboot Microservices
PDF
An Introduction to Redux
PPTX
Google authentication
Docker & kubernetes
Apache commons
Microservice Architecture using Spring Boot with React & Redux
Solid Principles
Introduction to TypeScript
Smart Contract samples
My Doc of geth
Geth important commands
Ethereum genesis
Springboot Microservices
An Introduction to Redux
Google authentication

Recently uploaded (20)

PDF
Advanced IT Governance
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Modernizing your data center with Dell and AMD
PPT
Teaching material agriculture food technology
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Advanced IT Governance
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Sensors and Actuators in IoT Systems using pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Modernizing your data center with Dell and AMD
Teaching material agriculture food technology
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
Understanding_Digital_Forensics_Presentation.pptx
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Cloud computing and distributed systems.
NewMind AI Monthly Chronicles - July 2025
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...

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