Professional Documents
Culture Documents
Bootstrap3 141102072431 Conversion Gate02
Bootstrap3 141102072431 Conversion Gate02
:
aneeshikmat@gmail.com, aneeshikmat@2nees.com
www.2nees.com :
aneeshikmat@gmail.com /
.. ..
.. ,
.. .
, , , ,
,boostrap3 ,
, framework
.. .. 10/12/2014
.. ..
.. .. ..
aneeshikmat@gmail.com /
(1
(2
(3
(4
Html
Css
Js
.. jQuery
.. ...
..jQuery click
.. on
aneeshikmat@gmail.com /
..
.. framework
SASS .. LESS
bootstrap .. css
SASS compilation ... css
..
2nees.com/courses
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
bootstrap framework
Mark Otto Jacob Thornton ,
framework ,
2011 GitHup
open source 3 2014
..
framework
, ,
, ..
..mobile first framework
framework ...
aneeshikmat@gmail.com /
Framework ..
.. Front-end framework ..
front-end
, ..
bootstrap
html, css
...text, forms, buttons
.
aneeshikmat@gmail.com /
(1
(2
(3
bootstrap3 framework
.. mobile-first
mobile ...
bootstrap3 ,
) ..
..
..
.. ^_^(.
, html, css, js
.. bootstrap
.. ^_* .bootstrap
aneeshikmat@gmail.com /
(4
bootstrap
:
:Scaffolding (1
..
..
.. ..
.. grid system,
responsive design, contains layout, Fluid Grid
:Base Css (2
, , .. btn
aneeshikmat@gmail.com /
:components (3
navbar,
.. dropdowns.
:Js plugIn (4
.. .. ..
:Customize (5 .
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
bootstrap ..
basic page .. ..
bootstrap )
bootstrap
.(bootstrap3
http://getbootstrap.com/getting-started/ :
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:
bootstrap
.. CDN
:CDN CDN
.. Content Delivery Network
..
bootstrap cashe ..
..
...
aneeshikmat@gmail.com /
.. bootstrap
.. ..
html index
root folder ..
..
.. basic template
.. index.html ..
... Bootstrap
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
template:
(1 > <!doctype html
.. css html
.. html5
(2
(3
meta tag
bootstrap IE
aneeshikmat@gmail.com /
bootstrap ie
..
(4
.. hack condition
...Respond.js
aneeshikmat@gmail.com /
(5
.. jQuery ..bootstrap
.. ..*_^ ...
: .. ..
.. html .. bootstrap ^_*
aneeshikmat@gmail.com /
..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
... .. .. css
.. .. ..
.. .. wrapper wrapper
bootstrap container container-fluid
.. 2 classes :
aneeshikmat@gmail.com /
..
.. Container responsive fixed-..
.. width .. px1170
.. ; margin:0 auto
*_^ ...css
container-fluid ..
.. padding ..
^_^ ...
aneeshikmat@gmail.com /
.. container container-fluid
.. ..Grid System
.. ..
..
bootstrap *_^ ..
Grid system
.. Bootstrap grid system
:Grid system / /
..
aneeshikmat@gmail.com /
grid system 960 Grid system
Grid system ..
.. ^_*
.. ..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
.. grid system
.. ..
width .. ..
block 8 4 + )..
12 (
6 6 + = 12 .. ....
.. grid system
).. ( ..
*( : *_^..
aneeshikmat@gmail.com /
(1
(2
(3
(4
grid container
container-fluid
.. container-fluid
full-width container
fixed-width .. grid
*_^..
..
..
.row .col-xs-4 grid .
aneeshikmat@gmail.com /
(5
(6
(7
(8
/ grid
..
margin ..
bootstrap
12 .. grid
.. 3 ..
..col-xs-4
12 ..
.. ^_*
.. mobile
grid
css class .col-md- ....col-lg-
aneeshikmat@gmail.com /
(9
bootstrap grid
:xs Extra small devices
grid
.. 768px
.. .. ..
responsive grid
*_^.. 768
:sm Small devices xs
*_^..768px
aneeshikmat@gmail.com /
.. ^_* ..
.. ^_^ .. :
aneeshikmat@gmail.com /
.. ..
..
.. ..
^_*
.. .. ..
.. ^_*
:
)..^______^.. .. (
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
1200px
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
. .. :
.. .. bootstrap
.. ^_* .. .
grid :
: 12 .. : 2 ... : 4
*_^ 12
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
grid ..
1200 12 .. 768 4
... 2
bootstrap ^_^ ..
.. class ..
^_^ col-xs-2 col-md-4 col-lg-1
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
. ^_*
aneeshikmat@gmail.com /
.. .. ..
.. ^_*
.. ..
.. .. .. :
grid 6 .. lg
4 md 2
.*_^ sm
aneeshikmat@gmail.com /
^_*..
) (
.. grid
* .. col-md-offset- *
.. ..
.. col-md-offset-4
4 ..^_^.. md
*_^ ... 992
.. ^_^
aneeshikmat@gmail.com /
.. ..
..
aneeshikmat@gmail.com /
..
..
..
aneeshikmat@gmail.com /
.. .. ..
..
..
.. ..
.. under
..
aneeshikmat@gmail.com /
** .
.. .. .. ^_*
div class
.. visible-xs-block - clearfix
:clearfix
.. clear:both ..css
:visible-xs-block
..
clear fix ...
aneeshikmat@gmail.com /
...
.. md .. under
md .. xs ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
..
.. Nesting Column
aneeshikmat@gmail.com /
.. ..
.. 12 ) ..
12 ( .. ..
.. 8 12 ..
.. .. 1170
8 ..
) ..780(8 * 1170/12 .
4 8
.. 780 12 4
....260 = 4 * 780/12
aneeshikmat@gmail.com /
.. ..
.. .. level
Level 1 ..
.. Level 2
.. Nesting Column
: grid ..
.. .. grid ..
..
.. ^_^
aneeshikmat@gmail.com /
.. ^_^.. ^_* ..
.. grid responsive
..
..
2 class:
:.col-md-push-* (1
...
:.col-md-pull-* (2
...
..
*_^..
aneeshikmat@gmail.com /
.. ..
aneeshikmat@gmail.com /
..
...
.. ..
.. .. push
.. pull ..
.. ..
^_*
aneeshikmat@gmail.com /
http://getbootstrap.com/css/
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Typography ..
bootstrap ..
..
(1 :heading h1 .. h6
.. ) :
.. html
(- bootstrap template
aneeshikmat@gmail.com /
(2 :body 14px
> <p margin-bottom 10px
..
.. ..
..
aneeshikmat@gmail.com /
.. ..
^_* :
aneeshikmat@gmail.com /
..
html ^_^ bootstrap
^_^..table
.. bootstrap
.. *_^ .. class=table :
aneeshikmat@gmail.com /
bootstrap
) (.. Striped
class table-striped
.. table ) : ie-8
css3 )((*_^ nth:child
aneeshikmat@gmail.com /
..
... class table-bordered
) : (..
aneeshikmat@gmail.com /
..
... row hover
..
.. *_^.. -
.. table-hover :
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
bootstrap
,Contextual classes class
..
Contextual classes:
aneeshikmat@gmail.com /
.. ^_^:
aneeshikmat@gmail.com /
.. table ^_*
... *___^ Responsive table
table .. responsive
..
).. responsive grid divs
(..
blocks ).. media
.. ( query .. customize .. scroll
.. .. .. ..
..*_^ Responsive ..
table-responsive
aneeshikmat@gmail.com /
class scroll ..
) : div(:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Forms ,
..
bootstrap ..
bootstrap ..
Form bootstrap
:
(1 input, textarea, and select
.. %100 .. .form-control
(2 label html div wrapper
) ( .form-group.
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
: .. .sr-only
label .. form class
! ..
label
.. Screen Reader ..
label ^_*
..
.. sr class
*_^ label
aneeshikmat@gmail.com /
.sr-only
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
/
^_^ ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. html
bootstrap form
:
Input (1
textarea (2
checkbox (3
radio (4
Select (5
Others ^_* (6
html tag ^_^..
.. ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:textarea (2 tag
) ( ..
..
.. form-control
.. rows :
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:Select (5 select ..
.. bootstrap select
...
^_^ ...multiple
..
Bootstrap ..
.. html
..
aneeshikmat@gmail.com /
.. 1 .. 5
.. (others) 6
:Others (6 /
..
plan text .. label
.. .. bootstrap ..
class
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. .. ^_^ ...
... > .. *_^ <p
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
^_^... outline
aneeshikmat@gmail.com /
:DISABLED INPUTS
..
*_^ ..
aneeshikmat@gmail.com /
:DISABLED FIELDSETS
fieldset tag
^_^..
* : IE
.. js code
.. ie
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:VALIDATION STATES
..
..
wrapper
.control-label, .form-control, .help-block
class :
.has-warning, .has-error, or .has-success
.. ^_^
.. ..class
aneeshikmat@gmail.com /
wrapper
^_^ ..
.. ^_^
aneeshikmat@gmail.com /
^_^
Both
Has-warning for text only
Both
Has-warning for label only
wrapper
^_^ ..
aneeshikmat@gmail.com /
:ICONS ..
.. input ..^_^ icons icons
.. has-feedback
.. bootstrap
ico ..
component .. bootstrap
... ..
ico ....
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
^_^..
aneeshikmat@gmail.com /
..
:
..
*_^ Valid state
.. ..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
.. .. )..
.. (^_^ :P
.. form
..
.. ^_^.. bootstrap
.. :
aneeshikmat@gmail.com /
(1
:height
) (height
class input-lg input-
...sm :
inspect element
aneeshikmat@gmail.com /
(2
:^_^.. width
bootstrap
.. ^_*.. !!.. ..
..^_^ col ....^_^ col-xs-3
) : (
aneeshikmat@gmail.com /
(3
..
.. form-group-lg
form-group-sm ..group ..
.. ..horizontal form
.. label
..
^_^
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
: ..
..
..
.. Inspect element
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
bootstrap
.. buttons ..
.. ico
).. ... ( form
:button
aneeshikmat@gmail.com /
.. ..
*_^ ..
aneeshikmat@gmail.com /
)..
^_^(
.. buttons
.. .. button ..
.. bootstrap *_^ ..
button
.btn-lg .btn-sm .btn-xs .btn-block
aneeshikmat@gmail.com /
.. bootstrap
.. .. btn-lg
.. btn
.. .. btn-block
btn .. block
width ^_^ ... parent
.. ^_*
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
(1 Active state
active button ..
.. pseudo-class :active
...
active ) ( ..
button >... <a
:
..
.. hover ..
.. active
aneeshikmat@gmail.com /
button
Disabled attribute > <a
... disabled
aneeshikmat@gmail.com /
.. disabled
(1 bootstrap pointer-events:
none css > <a
..
Ie11 .. opera 18
> <a ^_^..
(2 > <a > <button
> <a .. nav
navbar ..
.. button
.. ...
aneeshikmat@gmail.com /
tag ..!!
aneeshikmat@gmail.com /
bootstrap
> <button ..
,..
Firefox .. 30
line-height > ..... <input ^_^
^_^ : , html ..
> <button html tag
><button>Value <b>this</b></button
tag ..
aneeshikmat@gmail.com /
.. ..
..^_^ ..
^_^ ...
.. ...
^_^
...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
bootstrap ...
responsive ..
.. ..
:
Responsive images (1
Image shapes (2
aneeshikmat@gmail.com /
(1
:Responsive Image
.. bootstrap
... img-responsive
.. ..
...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
(2
.I
.II
.III
:Image shapes
.. bootstrap 3 3
:
:img-rounded .
:img-circle ..
:img-thumbnail
).. (..
:
aneeshikmat@gmail.com /
img-circle
img-thumbnail
img-rounded
aneeshikmat@gmail.com /
helper classes ..
..
:Contextual colors (1
..*_^..
.. .. hover
...^_^ .. :
aneeshikmat@gmail.com /
: Contextual backgrounds(2
..
.. text *..*_^ ... bg-
.. hover ...
:
aneeshikmat@gmail.com /
..^_^ .. .. x
close x
;).. ×
.. (HTML
aneeshikmat@gmail.com /
: caret(4
.. .. .
) .. (DropDown menu
... sup menu
:
..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:Clearfix (6 ..
div .. clearfix
.. /
.. clear float ..
css ..clear: both
:
..
clearfix
..
...
aneeshikmat@gmail.com /
.. .. ..
clearfix .. ..
.. .. ..
.. ..
clearfix .. ..
..
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
center-block .. span
.. span
.. div .. ..set-block-size
.. max-width width
block ^_^ ..
.. bg-info ..
... block
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. invisible .
; visibility: hidden
important .. display
**( ... display
visibility css
... 2nees.com
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
: Image replacement(10
.. text-hide
..
.. ico
^_^ ..
:
.. 0
shadow ...
aneeshikmat@gmail.com /
.. .. .. helper class
... !
..
...
.. ...
.. *_^ ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. css .. ..
.. classes display .. block
inline ^_^ .... inline-block
:
aneeshikmat@gmail.com /
..
aneeshikmat@gmail.com /
.. .. ..
.. ..
.. bootstrap class
..
) ).. (:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
bootstrap
) (
.. ^_^:
..
.. bootstrap ) css
... ^_^ (css
aneeshikmat@gmail.com /
Components
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Glyphicons )( ...
..
... .. ..
aneeshikmat@gmail.com /
:
(1 ico ..
ico .. glyphicon ico
..
(2 .. ico
ico
(3 glyphicon
... > <span ...
(4 > <span ..
).. (no text, no child
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
component .. Dropdowns
Dropdowns ..
..
... ^_^..
.. bootstrap
dropdowns .. ^_^ dropdown
^_^ ...
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:
(1 dropdown .. div
dropdown .. ..
.. relative
data-toggle="dropdown (2 .. attr
..
class="dropdown-menu (3
..
...
.. divider (4 ..
... dropdown ...
aneeshikmat@gmail.com /
.. ..
:
: Tabindex (1
Tab .. ..1
.. 1- tab
...
:Role (2 ..
screen reader ..
a ..menuitem ..
.. role=button
.. ... screen reader ..
aneeshikmat@gmail.com /
(2
) ( .. ..
.. ]".. *[role="button
role
... button .. ..
.. > <main .. html5
.. role=main
.. ...
..
.. ..
... .. ^_^ ...
aneeshikmat@gmail.com /
... ^_^
aneeshikmat@gmail.com /
.. !
.. bootstrap align ..
dropdown-menu-right ..
... ^_^ ul ul
.. dropdown-menu .. %100 top
left .. 0
dropdown-menu-right ..
Left: auto ... right: 0
^_^ ..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ^_^ header
..... ^_^ P:...
..
.. ^_^..
.. ..
^_^
) .. (-_-
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. Dropdowns
^_^ ...
disabled
>.. <li ^_^
aneeshikmat@gmail.com /
:
(1 align
.. dropdown-menu-right 3.2
.. bootstrap
.. pull-right *_^..
(2
..
cropped parent ..
.. customized
) css (
...
aneeshikmat@gmail.com /
(3
) ,(toggle
.. template
..
.. bootstrap.min.js ^_^ ..
.. ..
^_^...
..
^____^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
..
..^_^..
.. ^_^
btn-group 1
^_^
aneeshikmat@gmail.com /
2
toolbar
aneeshikmat@gmail.com /
3
Size
aneeshikmat@gmail.com /
4
Vertical
..
aneeshikmat@gmail.com /
5
Nesting
Group
.. ..
dropdown
.. relative
btn-group
^_^ relative
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
^_^ ... : .. ..
^_^...
aneeshikmat@gmail.com /
.. btn-group
> <button wrapper ....
:
.. ... _^
aneeshikmat@gmail.com /
:
(1 btn .. justified
.. btn-group btn btn-
group .. .. btn-group
btn .. Nesting
..
(2 ie-8 border btn .. a
... btn-group
.. ^_^ ..
^_^ .. :
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. dropdowns
.. .. Button dropdowns
.. ..
..
^_^ .. ^_^
aneeshikmat@gmail.com /
.. .. .. ..
.. btn-group !!
.. ^_^
Split button dropdowns
)(toggle
.. ^_^ ...
^_^
aneeshikmat@gmail.com /
..
*_*..
aneeshikmat@gmail.com /
.. btn
:
btn-sm btn-xs ....btn-lg
^_^:
^_^
aneeshikmat@gmail.com /
:2
aneeshikmat@gmail.com /
..
.. ^_^
aneeshikmat@gmail.com /
.. Dropup variation
^_^ ..
.. .. .dropup
:
aneeshikmat@gmail.com /
.. ^_^
.. ^_* ...
.. .. gruop
.. *_^ ..btn
.. ^_^
.. *_*
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. .. input group
html <input> tag
input group ..
>) <form .. child ..
> .. ( ...<form input group div
) (wrapper ... input
input
... @ .. twitter name $
...
aneeshikmat@gmail.com /
) (prepend ) (append :
(1 wrapper div .input-group
(2
(3
input-group-addon span
).. wrapper wrapper
span (...
span append
.. prepend span > <input
.. input ..
.. input .. ..
...
aneeshikmat@gmail.com /
:
(1 input-group .. form-group
(2
(3
input-group form-group
.. level input-group form-
.. group input-group
.. form-group .. ..
grid class .. input-group
input-group ... grid class
aneeshikmat@gmail.com /
(4
(5
.. ^_^.. ^_^
aneeshikmat@gmail.com /
) :1 (
aneeshikmat@gmail.com /
^_^:
..
: )(prepend
: )(append
: ^_^
aneeshikmat@gmail.com /
:2
aneeshikmat@gmail.com /
:3
.. form control
) .. input-group (
...
.. ..
aneeshikmat@gmail.com /
...Sizing
.. input-form
> ..^_^ <input
.. ..
* ..^_^ ... input-group- ^_*
* : sm ... lg
aneeshikmat@gmail.com /
: .. html
> <input
Radio/checkbox (1
Button (2
Dropdown Button (3
Segmented button (4
.. ...*_*.. !! ..
... P: ^_^
aneeshikmat@gmail.com /
: .. radio/checkbox
> <input radio checkbox span
input-group-addon
) : (
aneeshikmat@gmail.com /
: .. button btn
.. radio/checkbox
wrapper btn
... input-group-btn wrapper
.. *_^ ... input-group
input-group-btn span
...input-group-addon
* : input-group-btn ..
override
btn ><input
aneeshikmat@gmail.com /
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. Segmented buttons :
toggle ..
.. ^_^ dropdown buttons
.. )
.. (
aneeshikmat@gmail.com /
.. ..
..
..
.. ..
.. bootstrap ..
^_* ..
.. ..
... ^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Navs
..
..
...
.. bootstrap .. ..
.. nav
active ..
..
..^_^.. ^_^
aneeshikmat@gmail.com /
^_^:
active
tab ..
Tab
><ul
aneeshikmat@gmail.com /
: .. Pills
... nav-pills
:
..
^_^
aneeshikmat@gmail.com /
.nav-stacked nav-pills
.. ^_^
:
) ^_^(
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. :
6 ^_* .. ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:
.. .. .. disabled )(
!! ..
.. ....
:
^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. .. component
.. bootstrap
.. ..
) ( JS ...
.. ^_^ ..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. nav .. navbar
navbar , bootstrap
header ,
,Responsive
..
.. collapse btn
...navbar
aneeshikmat@gmail.com /
:navbar
(1 <nav> tag
(2 navbar navbar-default
><nav
(3 role=navigation >) <nav
..role (*_^ html5 tag
(4 > <div navbar-header
div > <a .. navebar-brand
.. ..
aneeshikmat@gmail.com /
(5
) (nav .. navbar ul
nav ....navbar-nav
, / *_^ navbar
.. ..
^_^..
aneeshikmat@gmail.com /
navbar-default
navbar
..
nav
..
..
nav
navbar-nav
.. nav
.. div .. !!.. ...
aneeshikmat@gmail.com /
.. .. .. navbar
!! .. nav
navbar .. *_^..
...navbar
(1 bootstrap
,
navbar ...
navbar .. :
( width .
( Responsive ..
( breakpoint media
..query
aneeshikmat@gmail.com /
(2 collapse navbar-collapse
) ...
(
@grid-float-breakpoint (3
.. breakpoint breakpoint
) ... 768 (LESS
plug-in collapse (4 js
responsive .. navbar
aneeshikmat@gmail.com /
.. ^_^
^_^ Brand image
img text navbar-
.. brand :
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
: text .. navbar
.. navbar bootstrap
.. .navbar-text *_*... <p> tag
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
^_^:
^_*
fixed
50
)
(
.. scroll
aneeshikmat@gmail.com /
: bootstrap navbar
.. ... navbar-inverse
:
aneeshikmat@gmail.com /
.. ) navbar (componant
.. Responsive navbar
.. navbar !!..
Responsive navbar
navbar ..
wrapper
... .collapse, .navbar-collapse ..
ID --- wrapper ..
navbar-toggle data-toggle
.. collapse ^_* ... ^_^
aneeshikmat@gmail.com /
) .. (:
aneeshikmat@gmail.com /
: Responsive breakpoint
.. toggle
.. responsive
*_*:
aneeshikmat@gmail.com /
... data-target
data-target id wrapper
...
navbar .. ..
^______________*
) ... (
:2
:1
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..Breadcrumbs Breadcrumbs
..
... Home / pages / about us
.. .. )..about us (..
^_^.. ..
.. ^____________^
aneeshikmat@gmail.com /
.. bootstrap ..
breadcrumb ><ol
^_^ .. ..
^_*
:
aneeshikmat@gmail.com /
.. ..
next ..^_^ .. prev
... .. Pagination
..
bootstrap ..
..^_^ pagination ... ul
aneeshikmat@gmail.com /
Pagination ..
.. active
) ( ..
disabled pager
.. .. ^_^:
aneeshikmat@gmail.com /
.. .. disabled
.. ..
..
)( preventDefault ..
> <a > <span ^_^..
^_^..
:
aneeshikmat@gmail.com /
.. pager
^_^ ..
pagination-lg ... pagination-sm
:
aneeshikmat@gmail.com /
.. .. pager
next prev .. ..
.. blog ..
..
pager ...^_^... pagination ^_^
parent
aneeshikmat@gmail.com /
.. pager pager
..
next previous >... <li
:
aneeshikmat@gmail.com /
.. disabled .. pagination
.. ^_^
).. breadcrumb
^_^ (.. pagination
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..bootstrap .. label ..
..
..
..
label *..^_^ label-
..default, primary, info
^_^) : ^_*(
aneeshikmat@gmail.com /
^_^
aneeshikmat@gmail.com /
Badges highlight
..
..^_^ ... .. FB
^_^..
^_^ .. ..
badge ... *_^ span span
...
^_^:
aneeshikmat@gmail.com /
.. Self collapsing
.. )
.. (.. bootstrap :empty
.. css span display:
... none ^_^
aneeshikmat@gmail.com /
^_^..
... (-_-)_ ie8
... :empty
:2
aneeshikmat@gmail.com /
..
.. , ^_^ ...
..^_^.. bootstrap
wrapper
... jumbotron
aneeshikmat@gmail.com /
page-header
>*<h
small ..
:
aneeshikmat@gmail.com /
.. .. ^_^..
) ..
( ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Thumbnails
.. .. .
bootstrap .. Thumbnails
grid system
html *_^ ...Thumbnails
Thumbnails .. wrapper
*_*
aneeshikmat@gmail.com /
:
Thumbnails
^___*
aneeshikmat@gmail.com /
:2 .. wrapper
. html
^_^
aneeshikmat@gmail.com /
..
..
.. bootstrap
alert
action ..
...
alert
*(success, info, danger, warning)* ... alert-
aneeshikmat@gmail.com /
^_*..
: alert
.. default
aneeshikmat@gmail.com /
.. alert alert-
... dismissible
...
.. ..
..
markup .. *_^ html
:
aneeshikmat@gmail.com /
: .. ... -_- x
template js
^_* *_^ bootstrap.min.js
:2 button data-
dismiss="alert button
... alert
.. ..alert
.. alert-link alert
^_^..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
^_^..
.. ..
Alert .. thump
... ^_* ..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
/ ..
.. bootstrap .. css3
.. ie-9 ..
.. .. opera 12 ..
animation transitions
^_^ ... css3
.. *_* Progress bar
aneeshikmat@gmail.com /
) (:
.. width area-valuenow
.. width .. ..
.. %80 .. 60 .. ^_^
^_^
aneeshikmat@gmail.com /
:2 .. 60%
.. .. Screen Reader
Progress bar
.. :
aneeshikmat@gmail.com /
:3
) (%0
width *_^.. 30px Low
..percentages .. ^_^..
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:4 .. ..
.. button
..
*progress-bar-
* warning, info, danger, success :
.. ) : (
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:5 ..
/ ) .. (Striped
..
..... progress-bar-striped :
aneeshikmat@gmail.com /
:6 ..
.. ^_^ ..
^_^.. active
:
aneeshikmat@gmail.com /
.. ^_^..
..
.. .. !!..
^_^ .. progress
bar progress ^_^... ^_*
aneeshikmat@gmail.com /
.. .. ..
.. ^_^ ..
^_^ ).. (ie8
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
media object
media ..
...
)..
.. bloger .. tweet
...(..
*_^...
aneeshikmat@gmail.com /
^_^:
..media
^_^
aneeshikmat@gmail.com /
:2
aneeshikmat@gmail.com /
..
news articles ..
media .. ul
) (:
aneeshikmat@gmail.com /
:2 ..
media body
.. :
aneeshikmat@gmail.com /
bootstrap ..
.. .. list-group
>) <ul( ul
.. ^_^.
*( .. ol .. ^_*
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
... :3 .. .. ul..
.. .. list-group-item
a .. *_^.. list-group
... :
aneeshikmat@gmail.com /
:4 disabled )
.. ( ..
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:6 Custom content
aneeshikmat@gmail.com /
.. .. List
...group
*_* ...
.. media
*_^ obejct
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
panel
.. .. panel
header .. body
panel
bootstrap:
:panel (1
).panel(.
:panel-heading (2
.. panel-title
.
aneeshikmat@gmail.com /
(3
(4
(5
:panel-body
*_^ panel
:panel-footer .footer
*
*) panel-
info, warning, default, primary, danger, success
) .. ..
(:
aneeshikmat@gmail.com /
header panel
.. Contextual alternatives
.. panel-info.. ^_* ..
) (5
:
aneeshikmat@gmail.com /
.. header
border panel .. footer ..
.. footer .. header
... Contextual alternatives
.. ..
...panel
.. table ^_^
*_* ...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ^_^ ..
...Responsive embed
embed
.. .. *_^ bootstrap
.. )(ratio
^_^...
: embed > <iframe > <object
>.... <embed
aneeshikmat@gmail.com /
embed-responsive-item
..
wrapper .. :
:embed-responsive (1
.. ..
(2 embed-responsive-4by3
embed-responsive-16by9
)(scale
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
well jumbotron
..
.. simple inset highlight well
.. well well-lg well-sm
^_^:
aneeshikmat@gmail.com /
.. ^_^...
*_* ..
^_^.. ^_^..
.. .. ^_^ Component ..
^_* ..
..
^_^.. ..
aneeshikmat@gmail.com /
Java Script
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
..
.. ..
...
..
.. bootstrap plug-in ...
..component
.. ..
.. ^_^
.. ^_^
aneeshikmat@gmail.com /
:
(1 plug-in 12
component ^_^
(2 Plug-In
template .
(3 ) plug-in (
plug-in
.. folder
(4 )
(plug-in bootstrap.min.js
bootstrap.js
aneeshikmat@gmail.com /
(5
(6
(7
(8
.. ^_^ *.js
.. plug-in
.. ...
bootstrap.min.js
.. bootstrap .
bootstrap.min.js bootstrap.js
.. Plug-in request
^_*
component
attribute ..
toggle ).... tooltip (
aneeshikmat@gmail.com /
.. button wrapper
.. conflict
^_^
(9 .. Plug-in
jQuery ...
..
js ^_^ plug-in
aneeshikmat@gmail.com /
.. button wrapper
.. conflict
^_^
(9 .. Plug-in
jQuery ...
..
js ^_^ plug-in
) bootstrap
(bootstrap.min.js
aneeshikmat@gmail.com /
:Data attributes
( API ... bootstrap
.. ^_^ ..
.
).. 17.html
.(toggle
(
.. .data-api
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:Programmatic API ..
API
.. bootstrap
...
:
aneeshikmat@gmail.com /
....
.. constructor :
** .. *_^ ..
..
aneeshikmat@gmail.com /
:No conflict
..
namespace ..
.. ..
.. bootstrap
.. framework
..
:
aneeshikmat@gmail.com /
:JavaScript is disabled
.. *_^ <noscript> tag bootstrap ...
.. PlugIn ..
.. ..
bootstrap ...
... plug-in .. P:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Modal
.. Parent .. window
child ^_^ .. header, body, footer
^_^
plug-in .. bootstrap.js
.. ^_^ bootstrap.min.js
plug-in .. modal.js
:
overlapping .. modal modal
..
aneeshikmat@gmail.com /
^_^
aneeshikmat@gmail.com /
modal ..
aneeshikmat@gmail.com /
.. ^_^
.. data-toggle="modal (1 btn link
.. ...modal
.. data-target="#identifier (2 modal
..
(3
) $('#identifier').modal(options
modal ..
..target option ..
aneeshikmat@gmail.com /
..
^_*
(4 .. modal modal
wrapper *_^ modal
(5 fade
^_^ .. *_^ toggle
aria-labelledby (6 modal
).. *_^ (modal
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
(11 .. modal-footer
footer .. *_^ modal
(12 .. model dialog wrapper body
header .. footer
modal-lg ...modal-sm ^_^modal
aneeshikmat@gmail.com /
.. ^_^.. ^_^
...*_^ option
option
).. modal
^_^(
^_*
aneeshikmat@gmail.com /
:backdrop (1
modal true.. .. false static
.. true modal
.. modal false
static modal
...modal ^_^
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:keyboard (2 modal
.. *_^.. Escape true.. .. false
.. false
.. Escape ... true
:
aneeshikmat@gmail.com /
(3 .. show modal
.. true or false
.. ... true initialized
modal *_^ modal
:
... .. click
$(document).ready(.
aneeshikmat@gmail.com /
:
..
*.. data- * ) backdrop .. keyboard(
:
.. .. Methods
^_^.. model
aneeshikmat@gmail.com /
method ) option
.. method * data-
(.. Attribute option toggle show
... hide
:
aneeshikmat@gmail.com /
.. .. modal
^_^ modal event
.. event hook
.. function
..
4:
:show.bs.modal (1 show modal
:shown.bs.modal (2 modal
:hide.bs.modal (3 hide modal
:hidden.bs.modal (4 modal
..
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
..
.. .. data-
.. toggle="dropdown data-api
toggle .. ...
^_^...
....show.bs.modal
toggle
)( $('.dropdown-toggle').dropdown
data-toggle ..
*_% Data-toggle
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:3 relative
... plug-in
) ..
:(...
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:
: data-spy="scroll(1
scrolling ...
.. body
scrolling >.... <body
:data-target (2
spy .. id
parent action ..
(3 id .. id
scroll .. scrolling
id *_^.. href
aneeshikmat@gmail.com /
:data-offset (4
) ( .. action target
... 0 target
.. 10 ..
..
..
aneeshikmat@gmail.com /
..method
refresh spy
DOM
.. .. spy
... refresh :
aneeshikmat@gmail.com /
.. event event
.. active.bs.scrollspy event
) (
:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
tabs .. ..
.. tab
... tab ...
...
tab
..
tab
tab
selector ..
aneeshikmat@gmail.com /
) (:
.. ..
html
.. .. active fade
.. in
*_^... active
aneeshikmat@gmail.com /
fade .. ^_* ..
^_^
event :
:show.bs.tab (1 tab
:shown.bs.tab (2 tab
.. ^_^:
aneeshikmat@gmail.com /
tooltip
event
... hover tooltip .. css3
bootstrap 3 .. *_^..
:
aneeshikmat@gmail.com /
.. .. data-toggle
*_^.. tooltip
data-placement
^_^ tooltip
title .. *_^ tooltip
aneeshikmat@gmail.com /
:1 tooltip
.. ..
.. performance
:2 tooltip html
).. (initialized :
.. }{ option
selector
*_^ tooltip
aneeshikmat@gmail.com /
:3 disabled
tooltip .. div
wrapper tooltip ..
disabled ... *_^.. button
:
aneeshikmat@gmail.com /
:4 selector trigger
tooltip selector
^_^) ..
.. P:.. ..
^_&(
aneeshikmat@gmail.com /
.. Options
^_^
:animation (1 ... fade
... true true or false
.. fade
... false
:delay (2 .. object
*_^ .. tooltip
.. hide, show object
.. ) : (ms
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:placement (4 tooltip
... placement
string .. function
:
function
..
aneeshikmat@gmail.com /
:Template (5 . tooltip
:
.. wrapper
.. tooltip
.. .. template
:
aneeshikmat@gmail.com /
. ..
.. .. .. tooltip
^_* ...
^_^
aneeshikmat@gmail.com /
:title (6 tooltip
.. ...
title .. html html
^_^ ... :
aneeshikmat@gmail.com /
:trigger (7 option
action tooltip
..
... click .. hover
:
aneeshikmat@gmail.com /
.. Methods
.. toottip :
... Show, hide, toggle, destroy
:show (1 tooltip
:hide (2 tooltip
hide
:toggle (3 show
:destroy (4 ).. tooltip
.. .. (..enable
:Enable (5 tooltip
^_* ) ((Re-)enable
aneeshikmat@gmail.com /
tooltip
^_*
aneeshikmat@gmail.com /
^_^.. event
tooltip
:show.bs.tooltip (1 show
hide // // // //
// hide.bs.tooltip (2
// tooltip
// shown.bs.tooltip (3
// // //
// hidden.bs.tooltip (4
:
aneeshikmat@gmail.com /
.. ^_^
,
.. css ..,
template
tooltip ... *_^...
^_^ ) (:
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
Popover tooltip ..
.. tooltip
popover
^_*...
:
(1 tooltip.js ).. popover
( ..
(2 initialize ... popover
aneeshikmat@gmail.com /
. ^_^ popover
aneeshikmat@gmail.com /
tooltip popover
*_*
(1
(2
(3
:title ..
:content ..
data-trigger="focus trigger
popover click
hover ...foucs focus
^_*.. focus
> <a .. button
...
aneeshikmat@gmail.com /
option .. tooltip
:
:container (1 wrapper
div .. popover window
... *_* resize .. false
) string wrapper (..
:
wrapper
wrap-1
aneeshikmat@gmail.com /
:content (2 content
data-content
aneeshikmat@gmail.com /
method
tooltip ..hide, show, toggle, destroy
:
aneeshikmat@gmail.com /
^_^.. event
popover
:show.bs.tooltip (1 show
hide // // // //
// hide.bs.tooltip (2
// // shown.bs.tooltip (3 popover
// // //
// hidden.bs.tooltip (4
.. ^_^
.. *_* popover :
aneeshikmat@gmail.com /
..
.. .. ^_^
) : destroy
(-_-..popover
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
alert ..
.. *_^ alert
alert ..
) close
... ( *_^ data-dismiss
aneeshikmat@gmail.com /
data-dismiss="alert
alert ^_*
alert ...DOM
:
$().alert() (1
$().alert('close') (2
data-api ...
aneeshikmat@gmail.com /
data-dismiss
aneeshikmat@gmail.com /
event alert:
:close.bs.alert (1
:closed.bs.alert (2
*_^ ...alert
:
.. ^_^
aneeshikmat@gmail.com /
*_^ js buttons
bootstrap ..
.. button button
checkbox radio
button ^_^..
.. bootstrap ^_^
: autocomplete="off button
.. firefox
disabledness and checkedness
^_*
aneeshikmat@gmail.com /
.. :
:*_^ Stateful
^_* ,
data-loading-text=value...
)'.. $().button(string
:
aneeshikmat@gmail.com /
)' $().button(string ..
loading .. reset loading
)
( .. .. reset )
... (loading
data-complete-text=value
..
)'... $(this).button('complete
aneeshikmat@gmail.com /
:Single toggle
active ..
...aria-pressed="false or true false
) .. (active true
.. active true
active ^_* .. :
active
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
checked
checkbox .. radio active
label )...
*_*(
.. ^_*
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
:
(1 collabse
wrapper .. panel panel-default
parent accordion parent
(2 id collapse
... href=#id
(3 data-toggle collabse
(4 panal
collapse .. .. list-group
(5 collapse
in .. collapse ^_^ area=true
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. .. *_^.. ^_^
.. ..
.. ..
..
..
..
....*_* Just Google It
:
http://getbootstrap.com/javascript/#carousel
http://getbootstrap.com/javascript/#affix
aneeshikmat@gmail.com /
(1
(2
bootstrap
.. responsive ..
:
http://getbootstrap.com/gettingstarted/#disable-responsive
custom
..bootstrap
.. .. ..
http://getbootstrap.com/customize/
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /
.. ..
... ...
...
,
,
,
.
aneeshikmat@gmail.com /
..
..
..
..
.. ,,
... ..
.
aneeshikmat@gmail.com /
aneeshikmat@gmail.com /