21
Bootstrap & Mobile- Web html, css and js framework http://getbootstrap.com / http://camel2243.gith ub.io /

Bootstrap & Mobile-Web

  • Upload
    -

  • View
    233

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Bootstrap & Mobile-Web

Bootstrap & Mobile-Webhtml, css and js frameworkhttp://getbootstrap.com/

http://camel2243.github.io/

Page 2: Bootstrap & Mobile-Web

outline

introduction How to use Components Grid system Pingendo Responsive web design User agent

Page 3: Bootstrap & Mobile-Web

Introduction HTML, CSS, JS framework less and sass Jquery and Angular responsive Open source on Github

Page 4: Bootstrap & Mobile-Web

How to use

Download Install with Bower Install with npm Install with Composer Bootstrap CDN

Source code: https://github.com/twbs/bootstrap https://github.com/twbs/bootstrap-sass

Page 5: Bootstrap & Mobile-Web

Components

Page 6: Bootstrap & Mobile-Web

Grid system

container

.col-md-3 .col-md-3 .col-md-3 .col-md-3

.col-md-6 .col-md-6

.col-md-8 .col-md-4

Page 7: Bootstrap & Mobile-Web

PingendoThe simplest app for Bootstrap prototyping

Page 8: Bootstrap & Mobile-Web

Responsive

The flow

Relative units

Max and Min values

Media query

Page 9: Bootstrap & Mobile-Web

The flow

Flow static

Page 10: Bootstrap & Mobile-Web

Relative units

100%

Relative static

800px

50%50% 400px400px

Page 11: Bootstrap & Mobile-Web

Max values

Max width No max width

Page 12: Bootstrap & Mobile-Web

Media query

@media [media type] and [(media feature)]

/* ... other non-media query styles would go here ... */.container { width: 100%; }@media screen and (min-width: 768px) {    .col-sm-3 {    width: 25%; } .container { max-width: 750px; }}

@media screen and (orientation: portrait) { .....}

Page 13: Bootstrap & Mobile-Web

Besides

Page 14: Bootstrap & Mobile-Web

User agent

Detect mobile browsers:http://detectmobilebrowsers.com/

Windows chrome

Android Samsung Galaxy Note 3

Page 15: Bootstrap & Mobile-Web

Reference

http://www.sitepoint.com/5-most-popular-frontend-frameworks-compared/  (2014 frontend framework)

http://getbootstrap.com/ ( bootstrap official website) http://pingendo.com/  (pingendo) http://blog.froont.com/9-basic-principles-of-responsive

-web-design/  (responsive web design)

深入淺出行動網站開發 賈德納  (Gardner, Lyza Danger)

Page 16: Bootstrap & Mobile-Web

資拓宏宇黑客松

Page 17: Bootstrap & Mobile-Web
Page 18: Bootstrap & Mobile-Web

主題

https://www.youtube.com/watch?v=d8rxzkf50Fg

Page 19: Bootstrap & Mobile-Web

30小時 coding…

Page 20: Bootstrap & Mobile-Web

吃吃人生

Page 21: Bootstrap & Mobile-Web

心得