SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
Bootstrap v3 研究分享
by Vincent Chang
Agenda
 Bootstrap
◦ CSS
◦ Component
◦ UI Customization
 Responsive Web Design(RWD)
 Less
 Reference
BOOTSTRAP
Bootstrap v3
 HTML5
◦ <!DOCTYPE html>
 CSS
◦ CSS3
◦ Grid System
◦ Normalize.css, a project by Nicolas Gailagher and
Jonathan Neal
◦ LESS
 Components
◦ A dozen reusable components
◦ Glyphicons
 JavaScript
◦ Uses jQuery framework
◦ The data attribute
Bootstrap Grid System
 12 columns
 Size
◦ Extra small(col-xs) : (<768px)
◦ Small(col-sm) : (≥768px)
◦ Middle(col-md) : (≥992px)
◦ Large(col-lg) : (≥1200px)
 Grid behavior:
◦ Extra small : Horizontal at all times
◦ Others : Collapsed to start, horizontal
above breakpoints
Bootstrap Grid System
 Include Bootstrap.css
 Usage
◦ Row : row as the div class name
◦ Column : (col-xs-/col-sm-/col-md-/col-
lg-)%d as the div class name
Col-md-6 Col-md-6
Grid system sample
Normalize.css
 Cross-browser consistency in HTML
elements
margin => 0
border => 0
padding => 0
Bootstrap Components
 Pre-define a couple of components
◦ Dropdowns
◦ Button, Button Groups
◦ Navbar
◦ Labels
◦ Progress bars
◦ Alerts
◦ Etc.
 Component usage:
1. Apply style
2. Enable component logic
 Via javascript.
 Via markup API
Via javascript(Model)
 Example
◦ Modal
 $('#myModal').modal(‘show’)
 $('#myModal').modal({backdrop:’static’,
show:true})
◦ Button
 $('.btn').button()
◦ Tooltip
 $('#example').tooltip(options)
Via markup API(Modal)
GlyphIcons
GlyphIcons
 Usage :
◦ <span class="glyphicon glyphicon-
star"></span>
◦ Don't mix with other components
 X:<button class=“btn glyphicon glyphicon-star”>button</button>
 O:<button class=“btn”><span class=“glyphicon xxx”></span>button<button>
Bootstrap UI Customization
 All UI style sheet can be set on
official website
 http://bootswatch.com/
 CSS part
◦ Able to be included partially.
 Javascript/jQuery plugin part
◦ Able to be included partially.
 Less Variables
RESPONSIVE WEB
DESIGN
Desktop, Tablet, Mobile and etc.
Responsive Web Design
 Fluid Grid Concept
 Flexible Image
 Media Queries
Responsive, Fluid Grid Concept
 Grid system
◦ Is derived from the graphic design.
◦ Make alignment.
◦ Standardize layout design.
◦ 960 Grid system
 Fluid Grid
◦ Web design
12 grid
12 grid
Flexible Image
 CSS
◦ max-width: 100%; height: auto;
 Bootstrap way
◦ class .img-responsive
Media Queries
 a feature of CSS3
 E.g.
 Bootstrap responsive utilities
◦ .visible-(xs/sm/md/lg)
◦ .hidden-(xs/sm/md/lg)
◦ .visible-print
◦ .hidden-print
CSS3 Media Queries Browser
Support
 Desktop platform : doesn’t
support IE 8
 Mobile platform : support all
browsers.
 Reference : http://caniuse.com/css-
mediaqueries
LESS
The dynamic stylesheet language
What is LESS
 CSS extension
 .LESS files compile to CSS files
 Variable
 Mixin
 Nested Rules
 Functions & Operations
Variables
Mixin
Nested Rules
Functions
 String
 Misc
 List
 Math
 Type
 Color
 Color Definition
 Color Channel
 Color Operations
 Color Blending
 Reference : less functions
Function example
Reference
 Bootstrap website :
◦ http://getbootstrap.com/
◦ http://bootswatch.com/
◦ http://www.layoutit.com/
 LESS : http://www.lesscss.org/
 RWD Wiki :
http://en.wikipedia.org/wiki/Respon
sive_web_design

Mais conteúdo relacionado

Mais procurados

JS, CMS, untangle the mess
JS, CMS, untangle the messJS, CMS, untangle the mess
JS, CMS, untangle the messChris Ward
 
Responsive Implementation in Drupal
Responsive Implementation in DrupalResponsive Implementation in Drupal
Responsive Implementation in DrupalMukesh Agarwal
 
Web page load speed optimization
Web page load speed optimizationWeb page load speed optimization
Web page load speed optimizationDmitry Dudin
 
Frontend architecture design for large(r) team final
Frontend architecture design for large(r) team   finalFrontend architecture design for large(r) team   final
Frontend architecture design for large(r) team finalChadchapol Vittavutkarnvej
 
Budapest New Tech Meetup - node-webkit
Budapest New Tech Meetup - node-webkitBudapest New Tech Meetup - node-webkit
Budapest New Tech Meetup - node-webkitRobert Szaloki
 
Node webkit-meetup
Node webkit-meetupNode webkit-meetup
Node webkit-meetupEU Edge
 
Introduction to j query
Introduction to j queryIntroduction to j query
Introduction to j querythewarlog
 
Rapid Testing, Rapid Development
Rapid Testing, Rapid DevelopmentRapid Testing, Rapid Development
Rapid Testing, Rapid Developmentmennovanslooten
 
The Future of CSS with Web Components
The Future of CSS with Web ComponentsThe Future of CSS with Web Components
The Future of CSS with Web ComponentsColdFusionConference
 
Drupal tips 'n tricks
Drupal tips 'n tricksDrupal tips 'n tricks
Drupal tips 'n tricksJohn Tsevdos
 
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...Scott DeLoach
 

Mais procurados (17)

JS, CMS, untangle the mess
JS, CMS, untangle the messJS, CMS, untangle the mess
JS, CMS, untangle the mess
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Responsive Implementation in Drupal
Responsive Implementation in DrupalResponsive Implementation in Drupal
Responsive Implementation in Drupal
 
Introduction to j_query
Introduction to j_queryIntroduction to j_query
Introduction to j_query
 
Web page load speed optimization
Web page load speed optimizationWeb page load speed optimization
Web page load speed optimization
 
Frontend architecture design for large(r) team final
Frontend architecture design for large(r) team   finalFrontend architecture design for large(r) team   final
Frontend architecture design for large(r) team final
 
Angular JS - Wikilogia
Angular JS - WikilogiaAngular JS - Wikilogia
Angular JS - Wikilogia
 
Budapest New Tech Meetup - node-webkit
Budapest New Tech Meetup - node-webkitBudapest New Tech Meetup - node-webkit
Budapest New Tech Meetup - node-webkit
 
Node webkit-meetup
Node webkit-meetupNode webkit-meetup
Node webkit-meetup
 
Introduction to j query
Introduction to j queryIntroduction to j query
Introduction to j query
 
Rapid Testing, Rapid Development
Rapid Testing, Rapid DevelopmentRapid Testing, Rapid Development
Rapid Testing, Rapid Development
 
The Future of CSS with Web Components
The Future of CSS with Web ComponentsThe Future of CSS with Web Components
The Future of CSS with Web Components
 
Drupal tips 'n tricks
Drupal tips 'n tricksDrupal tips 'n tricks
Drupal tips 'n tricks
 
Banquet 36
Banquet 36Banquet 36
Banquet 36
 
SVG and the web
SVG and the webSVG and the web
SVG and the web
 
JavaScript Basics
JavaScript BasicsJavaScript Basics
JavaScript Basics
 
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
 

Destaque

Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)NexThoughts Technologies
 
Twitter Bootstrap for web UI development
Twitter Bootstrap for web UI development Twitter Bootstrap for web UI development
Twitter Bootstrap for web UI development Infinity Levels Studio
 
Presentation on Bootstrap Course
Presentation on Bootstrap CoursePresentation on Bootstrap Course
Presentation on Bootstrap CourseBapu Graphics India
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter BootstrapAhmed Haque
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Julien Renaux
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapJean Michel
 
Segmentation 3.0 : les nouvelles approches de segmentation des donateurs
Segmentation 3.0 : les nouvelles approches de segmentation des donateursSegmentation 3.0 : les nouvelles approches de segmentation des donateurs
Segmentation 3.0 : les nouvelles approches de segmentation des donateursoptimus
 
Lokéo scoring activité
Lokéo scoring activitéLokéo scoring activité
Lokéo scoring activitélokeo
 
Les clés du scoring prédictif ou comment augmenter le taux de transformation...
Les clés du scoring prédictif  ou comment augmenter le taux de transformation...Les clés du scoring prédictif  ou comment augmenter le taux de transformation...
Les clés du scoring prédictif ou comment augmenter le taux de transformation...NP6
 

Destaque (10)

Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)
 
Twitter Bootstrap for web UI development
Twitter Bootstrap for web UI development Twitter Bootstrap for web UI development
Twitter Bootstrap for web UI development
 
Presentation on Bootstrap Course
Presentation on Bootstrap CoursePresentation on Bootstrap Course
Presentation on Bootstrap Course
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2
 
Bootstrap Framework
Bootstrap Framework Bootstrap Framework
Bootstrap Framework
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : Bootstrap
 
Segmentation 3.0 : les nouvelles approches de segmentation des donateurs
Segmentation 3.0 : les nouvelles approches de segmentation des donateursSegmentation 3.0 : les nouvelles approches de segmentation des donateurs
Segmentation 3.0 : les nouvelles approches de segmentation des donateurs
 
Lokéo scoring activité
Lokéo scoring activitéLokéo scoring activité
Lokéo scoring activité
 
Les clés du scoring prédictif ou comment augmenter le taux de transformation...
Les clés du scoring prédictif  ou comment augmenter le taux de transformation...Les clés du scoring prédictif  ou comment augmenter le taux de transformation...
Les clés du scoring prédictif ou comment augmenter le taux de transformation...
 

Semelhante a Bootstrap Study Share

Bootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapBootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapWebFrameworks
 
Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Wahyu Putra
 
GR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with GrailsGR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with GrailsGR8Conf
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap1amitgupta
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12touchtitans
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesVitaly Friedman
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Erin M. Kidwell
 
Dynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and MobileDynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and Mobilepeychevi
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
Responsive layouts by Maqbool
Responsive layouts by MaqboolResponsive layouts by Maqbool
Responsive layouts by MaqboolNavin Agarwal
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015Rob Davarnia
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3Jamshid Hashimi
 
Building Responsive Websites with the Bootstrap 3 Framework
Building Responsive Websites with the Bootstrap 3 FrameworkBuilding Responsive Websites with the Bootstrap 3 Framework
Building Responsive Websites with the Bootstrap 3 FrameworkWebvanta
 
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)Tomomi Imura
 
Build Better Responsive websites. Hrvoje Jurišić
Build Better Responsive websites. Hrvoje JurišićBuild Better Responsive websites. Hrvoje Jurišić
Build Better Responsive websites. Hrvoje JurišićMeetMagentoNY2014
 
Responsive Design from problem to production
Responsive Design from problem to productionResponsive Design from problem to production
Responsive Design from problem to productionDavid Douglas
 

Semelhante a Bootstrap Study Share (20)

Bootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapBootstrap과 UI-Bootstrap
Bootstrap과 UI-Bootstrap
 
Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3
 
GR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with GrailsGR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with Grails
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
 
Dynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and MobileDynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and Mobile
 
Svcc 2013-css3-and-mobile
Svcc 2013-css3-and-mobileSvcc 2013-css3-and-mobile
Svcc 2013-css3-and-mobile
 
ResponsiveWebDesign
ResponsiveWebDesignResponsiveWebDesign
ResponsiveWebDesign
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
 
Bootstrap
Bootstrap Bootstrap
Bootstrap
 
Responsive layouts by Maqbool
Responsive layouts by MaqboolResponsive layouts by Maqbool
Responsive layouts by Maqbool
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3
 
Building Responsive Websites with the Bootstrap 3 Framework
Building Responsive Websites with the Bootstrap 3 FrameworkBuilding Responsive Websites with the Bootstrap 3 Framework
Building Responsive Websites with the Bootstrap 3 Framework
 
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)
[SF HTML5] Responsive Cross-Device Development with Web Standards (2013)
 
Build Better Responsive websites. Hrvoje Jurišić
Build Better Responsive websites. Hrvoje JurišićBuild Better Responsive websites. Hrvoje Jurišić
Build Better Responsive websites. Hrvoje Jurišić
 
Responsive Design from problem to production
Responsive Design from problem to productionResponsive Design from problem to production
Responsive Design from problem to production
 
Html5
Html5Html5
Html5
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Bootstrap Study Share

  • 2. Agenda  Bootstrap ◦ CSS ◦ Component ◦ UI Customization  Responsive Web Design(RWD)  Less  Reference
  • 4. Bootstrap v3  HTML5 ◦ <!DOCTYPE html>  CSS ◦ CSS3 ◦ Grid System ◦ Normalize.css, a project by Nicolas Gailagher and Jonathan Neal ◦ LESS  Components ◦ A dozen reusable components ◦ Glyphicons  JavaScript ◦ Uses jQuery framework ◦ The data attribute
  • 5. Bootstrap Grid System  12 columns  Size ◦ Extra small(col-xs) : (<768px) ◦ Small(col-sm) : (≥768px) ◦ Middle(col-md) : (≥992px) ◦ Large(col-lg) : (≥1200px)  Grid behavior: ◦ Extra small : Horizontal at all times ◦ Others : Collapsed to start, horizontal above breakpoints
  • 6. Bootstrap Grid System  Include Bootstrap.css  Usage ◦ Row : row as the div class name ◦ Column : (col-xs-/col-sm-/col-md-/col- lg-)%d as the div class name Col-md-6 Col-md-6
  • 8. Normalize.css  Cross-browser consistency in HTML elements margin => 0 border => 0 padding => 0
  • 9. Bootstrap Components  Pre-define a couple of components ◦ Dropdowns ◦ Button, Button Groups ◦ Navbar ◦ Labels ◦ Progress bars ◦ Alerts ◦ Etc.  Component usage: 1. Apply style 2. Enable component logic  Via javascript.  Via markup API
  • 10. Via javascript(Model)  Example ◦ Modal  $('#myModal').modal(‘show’)  $('#myModal').modal({backdrop:’static’, show:true}) ◦ Button  $('.btn').button() ◦ Tooltip  $('#example').tooltip(options)
  • 13. GlyphIcons  Usage : ◦ <span class="glyphicon glyphicon- star"></span> ◦ Don't mix with other components  X:<button class=“btn glyphicon glyphicon-star”>button</button>  O:<button class=“btn”><span class=“glyphicon xxx”></span>button<button>
  • 14. Bootstrap UI Customization  All UI style sheet can be set on official website  http://bootswatch.com/  CSS part ◦ Able to be included partially.  Javascript/jQuery plugin part ◦ Able to be included partially.  Less Variables
  • 16. Responsive Web Design  Fluid Grid Concept  Flexible Image  Media Queries
  • 17. Responsive, Fluid Grid Concept  Grid system ◦ Is derived from the graphic design. ◦ Make alignment. ◦ Standardize layout design. ◦ 960 Grid system  Fluid Grid ◦ Web design
  • 20. Flexible Image  CSS ◦ max-width: 100%; height: auto;  Bootstrap way ◦ class .img-responsive
  • 21. Media Queries  a feature of CSS3  E.g.  Bootstrap responsive utilities ◦ .visible-(xs/sm/md/lg) ◦ .hidden-(xs/sm/md/lg) ◦ .visible-print ◦ .hidden-print
  • 22. CSS3 Media Queries Browser Support  Desktop platform : doesn’t support IE 8  Mobile platform : support all browsers.  Reference : http://caniuse.com/css- mediaqueries
  • 23.
  • 25. What is LESS  CSS extension  .LESS files compile to CSS files  Variable  Mixin  Nested Rules  Functions & Operations
  • 27. Mixin
  • 29. Functions  String  Misc  List  Math  Type  Color  Color Definition  Color Channel  Color Operations  Color Blending  Reference : less functions
  • 31. Reference  Bootstrap website : ◦ http://getbootstrap.com/ ◦ http://bootswatch.com/ ◦ http://www.layoutit.com/  LESS : http://www.lesscss.org/  RWD Wiki : http://en.wikipedia.org/wiki/Respon sive_web_design