bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2...

177
bootstrap |ˈbo ͞ otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something more complex and eective: we see the creative act as a bootstrap process. verb (bootstraps, bootstrapping, bootstrapped) [ with obj. ] 1 get (oneself or something) into or out of a situation using existing resources: the company is bootstrapping itself out of a marred financial past. start up (an enterprise), esp. one based on the Internet, with minimal resources: they are bootstrapping their stations themselves, not with lots of dot-com venture capital.

Upload: others

Post on 16-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

bootstrap |ˈbo͞otˌstrap|

noun

1 a loop at the back of a boot, used to pull it on.

2 Computing — the technique of starting with existing resources to create something more complex and effective: we see the creative act as a bootstrap process.

verb (bootstraps, bootstrapping, bootstrapped) [ with obj. ]

1 get (oneself or something) into or out of a situation using existing resources: the company is bootstrapping itself out of a marred financial past.

• start up (an enterprise), esp. one based on the Internet, with minimal resources: they are bootstrapping their stations themselves, not with lots of dot-com venture capital.

Page 2: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap

Page 3: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Mark Otto and Jacob Thornton at Twitter

"A super small group of developers and I got together to design and build a new internal tool and saw an opportunity to do something more.

… Months later, we ended up with an early version of Bootstrap as a way to document and share common design patterns and assets within the company."

Page 4: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 5: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 6: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 7: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Add your own

Page 8: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Two ways to add CSS:<head>  

  <style>  

  h1{       color:black;       font-­‐size:16px;     }  

  </style>  

</head>

Link to an external stylesheet with .css file extension

Page 9: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Two ways to add CSS:

<head>  

  <link  href="mystyle.css"  rel="stylesheet">  

</head>

Link to an external stylesheet with .css file extension

Page 10: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Using a .css file instead of <style>

index.html

contact.html about.html

Page 11: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Using a .css file instead of <style>

index.html

contact.html about.html

style.css

Page 12: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Using a .css file instead of <style>

index.html

contact.html about.html

style.css

Page 13: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap gives us a .css file

Page 14: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap gives us a .css file

Page 15: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap gives us a .css file

Page 16: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap gives us a .css file

Page 17: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap gives us a .css file

These are the actual bootstrap styles

Page 18: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What are all these files?

.css  

.css.map  

.min.css

- Used for debugging

- Actual style files

- Compressed versionof actual style files

Page 19: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What are all these files?

.css  

.css.map  

.min.css

- Used for debugging

- Actual style files

- Compressed versionof actual style files

Page 20: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Boilerplate Code

Page 21: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Boilerplate Code

Page 22: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Pop Quiz

Page 23: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Who invented the Bootstrap framework?

Page 24: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Who invented the Bootstrap framework?

Some guys at Twitter

Page 25: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What are two ways to add CSS in your web page?

Page 26: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What are two ways to add CSS in your web page?

1. Using a <style> tag in the head of your document

2. Linking to an external stylesheet with a .css file extension.

Page 27: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Which CSS file will we be linking to when we create a website

using Bootstrap?

Page 28: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Which CSS file will we be linking to when we create a website

using Bootstrap?

bootstrap.min.css

Page 29: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div></div>

Page 30: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

class="someclass"<div ></div>

Page 31: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

class="someclass"<div ></div>

attribute name

Page 32: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

class="someclass"<div ></div>

attribute name

equals symbol

Page 33: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

class="someclass"<div ></div>

attribute name

equals symbol

value in quotes

Page 34: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div class="someclass anotherclass">…</div>

Page 35: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div class="someclass anotherclass">…</div>

attribute name

Page 36: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div class="someclass anotherclass">…</div>

attribute name

equals symbol

Page 37: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div class="someclass anotherclass">…</div>

attribute name

equals symbol

first value in quotes

Page 38: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Quick Review

<div class="someclass anotherclass">…</div>

attribute name

equals symbol

first value in quotes

second value in quotes

Page 39: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 40: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 41: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Adding Bootstrap classes

<button>       Ugly  HTML  button    </button>

Page 42: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Adding Bootstrap classes

<button>       Ugly  HTML  button    </button>

Fabulous HTML Button!

<button  class="btn  btn-­‐default">       Fabulous  HTML  Button!  </button>

Page 43: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Adding Bootstrap classes

<button  class="btn  btn-­‐primary"></button>

Page 44: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Bootstrap Layout

Page 45: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Everything should be in a container

<div  class="container">  

</div>

Page 46: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Everything should be in a container

<div  class="container">  

</div>

Page 47: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 48: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 49: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Everything should be in a container

<div  class="container-­‐fluid">  

</div>

Page 50: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Everything should be in a container

<div  class="container-­‐fluid">  

</div>

Page 51: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 52: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Grid System

Page 53: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 54: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 55: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 56: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 57: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 58: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 59: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 60: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 61: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col

4 col

8 col

Page 62: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

Page 63: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3

Page 64: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3

Page 65: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3

Page 66: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

Page 67: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3 =12

Page 68: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row

=12

Page 69: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row col 5

=12

Page 70: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row col 5 col 2

=12

Page 71: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row col 5 col 2 col 4

=12

Page 72: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row col 5 col 2 col 4 col 1

=12

Page 73: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row col 3 col 3 col 3 col 3

row col 5 col 2 col 4 col 1

=12

=12

Page 74: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 75: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 76: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 77: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 COL

Page 78: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

8 COL4 COL

Page 79: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

8 COL

4 COL

4 COL

Page 80: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

8 COL

4 COL 4 COL

4 COL

Page 81: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

8 COL

4 COL 4 COL 4 COL

4 COL

Page 82: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What does it look like in code?

Page 83: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="container">  

</div>

What does it look like in code?

Page 84: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="row">  

</div>

Page 85: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐8"></div>

Page 86: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="row">  

</div>

<div  class="<div  class="

Page 87: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="

</div>

<div  class="<div  class="

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 88: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="

</div>

<div  class="<div  class="

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

12 =

12 =

Page 89: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 90: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col

Page 91: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col

Page 92: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col 4 col

Page 93: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col 4 col

4 col

Page 94: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col 4 col

4 col 4 col

Page 95: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

4 col 4 col 4 col

4 col 4 col 4 col

Page 96: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What does it look like in code?

Page 97: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="container">  

</div>

What does it look like in code?

Page 98: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="row">  

</div>

Page 99: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 100: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="row">  

</div>

<div  class="<div  class="<div  class="

Page 101: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="

</div>

<div  class="<div  class="<div  class="

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 102: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Offsets

Page 103: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Offsets

col 6

col 6 col 6

Page 104: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Offsets

col 6

col 6 col 6

offset-3

Page 105: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What does it look like in code?

Page 106: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="container">  

</div>

What does it look like in code?

Page 107: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="row">  

</div>

Page 108: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="col-­‐sm-­‐6  col-­‐sm-­‐offset-­‐3">  </div>

Page 109: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="row">  

</div>

<div  class="</div>

Page 110: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div><div  class="

</div>

<div  class="</div>

<div  class="col-­‐sm-­‐6"></div>  <div  class="col-­‐sm-­‐6"></div>

Page 111: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Pop Quiz

Page 112: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

To use the grid system, what CSS class should everything be initially

wrapped in?

Page 113: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

To use the grid system, what CSS class should everything be initially

wrapped in?

<div  class="container"></div>

<div  class="container-­‐fluid"></div>

OR

Page 114: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

In the grid system, what class should the columns be wrapped

in?

Page 115: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

In the grid system, what class should the columns be wrapped

in?

<div  class="row"></div>

Page 116: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 117: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 118: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 119: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐3"></div>  <div  class="col-­‐sm-­‐3"></div>  <div  class="col-­‐sm-­‐3"></div>  <div  class="col-­‐sm-­‐3"></div>

Page 120: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for this one column. (Gray area for reference)

Page 121: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for this one column. (Gray area for reference)

<div  class="col-­‐sm-­‐6  col-­‐sm-­‐offset-­‐5"></div>

Page 122: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 123: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐4  col-­‐sm-­‐offset-­‐2"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 124: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 125: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐3  col-­‐sm-­‐offset-­‐2"></div>  <div  class="col-­‐sm-­‐6  col-­‐sm-­‐offset-­‐1"></div>

Page 126: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 127: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐5"></div>  <div  class="col-­‐sm-­‐5  col-­‐sm-­‐offset-­‐2"></div>

Page 128: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

Page 129: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Describe the class for these columns. (Gray area for reference)

<div  class="col-­‐sm-­‐2  col-­‐sm-­‐offset-­‐1"></div>  <div  class="col-­‐sm-­‐6"></div>  <div  class="col-­‐sm-­‐2"></div>

Page 130: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested Grid

Page 131: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 132: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

Page 133: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

Page 134: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4

Page 135: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

Page 136: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

row

Page 137: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

row

row

Page 138: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

col 4 row

row

Page 139: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

col 4 col 8 row

row

Page 140: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

col 4 col 8

col 8

row

row

Page 141: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

row

row

col 4 col 8

col 4 col 8

col 8 col 4

row

row

Page 142: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

Row

Page 143: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8Row

Page 144: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8Row col 4

Page 145: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Row

Row col 4

Page 146: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Row

Row col 4

Page 147: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Row

Row col 4

Page 148: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Rowcol 4

Row col 4

Page 149: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Rowcol 4 col 4

Row col 4

Page 150: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Rowcol 4 col 4 col 4

Row col 4

Page 151: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Nested grids

col 8

Rowcol 4 col 4 col 4

Row col 4

Page 152: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

What does it look like in code?

Page 153: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="container">  

</div>

What does it look like in code?

Page 154: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="row">  

</div>

Page 155: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="col-­‐sm-­‐8">  

</div>  <div  class="col-­‐sm-­‐4"></div>  

Page 156: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="

</div>  <div  class="

<div  class="row">  

</div>

Page 157: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

<div  class="

</div>

What does it look like in code?

<div  class="

</div>

<div  class="

</div>  <div  class="

<div  class="

</div>

<div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>  <div  class="col-­‐sm-­‐4"></div>

Page 158: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 159: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 160: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8

Page 161: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

Page 162: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

Page 163: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6

Page 164: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6 col 6

Page 165: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6 col 6

Page 166: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6 col 6

col 4

Page 167: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6 col 6

col 4 col 4

Page 168: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

col 8 col 4

col 6 col 6

col 4 col 4 col 4

Page 169: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Responsiveness

Page 170: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Responsiveness

row col 3 col 3 col 3 col 3

Page 171: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Responsiveness

row col 3 col 3 col 3 col 3

Page 172: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Responsiveness

rowcol 3

col 3

col 3

col 3

Page 173: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something
Page 174: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Order 1 Order 2 Order 3 Order 4

Order 5 Order 6

Order 7 Order 8

Page 175: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

Order 1

Order 2Order 3Order 4

Order 5Order 6Order 7Order 8

Page 176: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

When should columns stack?

col-sm-

col-md-

col-lg-

750px

970px

1170px

col-xs- never

Page 177: bootstrap · bootstrap |ˈbo͞otˌstrap| noun 1 a loop at the back of a boot, used to pull it on. 2 Computing — the technique of starting with existing resources to create something

When should columns stack?

col-sm-

col-md-

col-lg-

750px

970px

1170px

col-xs- never