Exploring Bootstrap Components

Slides:



Advertisements
Similar presentations
JQuery Mobile. Benefits Required links Remember that we need to add the links to the head, in this order.
Advertisements

Twitter Bootstrap. Agenda What is it? Grids and Fluid layouts Globals and Typography Tables, Forms and Buttons Navigation Media and thumbnails Responsive.
Chapter 2 HTML Basics Key Concepts
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
 Word doc for you to download › Link at the beginning of class › 10 Questions › Answers to be added inline  Post to Sakai when completed › No resubmits.
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Forms.
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Frontend - HTML5 - CSS3 - Bootstrap 3.x. SemanticsPerformanceCSS3.
1 Review of Form Elements. 2 The tag Used in between tags.  Form elements(text control, buttons, etc.. ) goes here. OR  Form elements(text control,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Bootstrap by:- Vignesh Dhamodaran. What is Bootstrap? Originally created by a designer and a developer at Twitter. So initial name is Twitter Bootstrap.
Chapter 3 CSS Components Yeunyong Kantanet School of Information and Communication Technology University of Phayao Yeunyong Kantanet School of Information.
Button groups Buttons dropdowns Action Pagination Pager Inline labels DEFAULT INFO SUCCESSWARNINGIMPORTANT Action 10 OlderNewer NextPrevious
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
 Add one element at a time  If it doesn’t do what you want, › Delete it › DON’T just keep piling on more items.
2 3  Sites today need to be responsive, mobile first, slickly designed, and fast.  Bootstrap helps designers and developers by providing a vast array.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
Chapter 4 Bootstrap. Content Bootstrap with CSS Bootstrap Layout Components Bootstrap Plugins.
What’s New in Bootstrap v4
Bootstrap L. Grewe.
Bootstrap KS Technologies.
CNIT131 Internet Basics & Beginning HTML
>> Introduction to HTML: Forms
Bootstrap 3 SoftUni Team Technical Trainers Software University
PHP MySQL Crash Course with HTML CSS
Twitter Bootstrap Grid System
What’s New In Bootstrap v4?
Website implementation
Front-End Framework for Responsive Web Sites
How to Write Web Forms By Mimi Opkins.
Introduction to HTML Forms and Servlets
HTML Forms Pat Morin COMP 2405.
Introduction to Bootstrap Bootstrap සදහා හැදින්වීම
© 2016, Mike Murach & Associates, Inc.
Lists, Thumbnails, and Icons
Web Programming– UFCFB Bootstrap Lecture 12
CS3220 Web and Internet Programming Introduction to Bootstrap
Bootstrap響應式網頁設計 (Responsive Web Design, RWD)
HTML/XHTML Forms 18-Sep-18.
Forms and Form Controls
النماذج عند الانتهاء من هذا الدرس ستكون قادرا على:
Creating Form Elements
Creating Form Elements
Bootstrap Components Reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Fixed Positioning.
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Chapter 2 Bootstrap Grid System
Basics of Web Design Chapter 10 Form Basics Key Concepts
CS3220 Web and Internet Programming Introduction to Bootstrap
Multipage Sites.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Basics of Web Design Chapter 2 HTML Basics Key Concepts
More info about interface inventories
Bootstrap/WebFlow Web development of the future
Presentation transcript:

Exploring Bootstrap Components Chapter3 Exploring Bootstrap Components

Page Components Page Headers

Panels

Panels come with various color options

Media Object

Thumbnails

Thumbnails caption

List Group

Lists of Links ถ้าเราต้องการสร้าง list ที่เป็น links เราจะใช้ <a href=“”>…</a> แทน <li> และใช้ <div> แทน <ul>

various colors to each list item

การใส่ heading ในรายการ list <a href="#" class="list-group-item"> <h4 class="list-group-item-heading">Itemheading</h4> <p class="list-group-item-text">Lorem ipsum dolor sit ...</p> </a>

Navigation Components

Tab Navs

Pills navs

vertical stack pills

Navbar

Resize browser

Drop-down menus

Breadcrumb

Label

label variants

Buttons

color options and various sizes

helper classes for buttons ■ btn-block ■ active ■ disabled

Glyphicons ค้นหารูปแบบที่ http://getbootstrap.com/components/#glyphicons

Wells: rounded cornered box

three variants Wells 1. Default: use only the well class. 2. Large spacing: use the well and well-lg classes together. 3. Small spacing: use the well and well-sm classes together

Badges <span class="badge">23</span> <a href="#" class="btn btn-primary btn-lg">Inbox ➥<span class="badge">23</span></a>

Fun with Forms

Horizontal Forms <form class="form-horizontal"> <div class="form-group"> <label for="nameField" class="col-xs-2">Name</label> <div class="col-xs-10"> <input type="text" class="form-control" id="nameField" ➥placeholder="Your Name" /> </div> <label for="emailField" class="col-xs-2">Email</label> <input type="email" class="form-control" id="emailField"

➥placeholder="Your Email" /> </div> <div class="form-group"> <label for="phoneField" class="col-xs-2">Phone</label> <div class="col-xs-10"> <input type="text" class="form-control" id="phoneField" ➥placeholder="Your Phone Number" /> <label for="descField" class="col-xs-2">Description</label> <textarea class="form-control" id="descField" ➥placeholder="Your Comments"></textarea> <div class="col-xs-10 col-xs-offset-2"> <button type="submit" class="btn btn-primary">Submit ➥</button> <button type="reset" class="btn btn-default">Reset ➥</button> </form>

Inline Form <div class="well well-sm"> <form class="form-inline"> <div class="form-group"> <input type="email" class="form-control" id="emailField" ➥placeholder="Enter email"> </div> <input type="password" class="form-control" ➥id="passwordField" placeholder="Password">

<div class="checkbox"> <label> <input type="checkbox"> Remember me </label> </div> <button type="submit" class="btn btn-primary">Sign in ➥</button> </form>

Helper Classes in Forms

three validation states for input elements:

Control Sizing ■ input-lg for bigger input elements than the default size. ■ input-sm for smaller input elements