CS3220 Web and Internet Programming Introduction to Bootstrap

Slides:



Advertisements
Similar presentations
Coding a Responsive HTML
Advertisements

Twitter Bootstrap. Agenda What is it? Grids and Fluid layouts Globals and Typography Tables, Forms and Buttons Navigation Media and thumbnails Responsive.
Slide 1 CMPS 211 Internet Programming Spring 2008 Dynamic Effects with Styles Chapter 12 2/6/08.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Bootstrap & CSS James Kahng. Intro Websites require a lot of upfront setup to look passably good (HTML base, CSS style, etc.) Because of this, people.
CISC 474: Advanced Web Technologies HTML5 & CSS3, & Responsive Design.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Kathy E. Responsive Design and Twitter Bootstrap.
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Frontend - HTML5 - CSS3 - Bootstrap 3.x. SemanticsPerformanceCSS3.
Introduction to Bootstrap
Bootstrap by:- Vignesh Dhamodaran. What is Bootstrap? Originally created by a designer and a developer at Twitter. So initial name is Twitter Bootstrap.
learn. do. dream. Bootstrapping with Twitter Bootstrap Responsive Layouts CSS Components JavaScript Font Awesome Select2 Themes.
Bootstrap Front-End Framework for Responsive Web Sites Svetlin Nakov Technical Trainer Software University
Positioning Objects with CSS and Tables
ACM 262 INTRODUCTION TO WEB DESIGN Week-7 ACM 262 Course Notes.
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
A gentle introduction to Bootstrap MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/18/
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
Chapter 4 Bootstrap. Content Bootstrap with CSS Bootstrap Layout Components Bootstrap Plugins.
A gentle introduction to Bootstrap TDAP Jeremy Shafer Department of MIS Fox School of Business Temple University Spring
Bootstrap KS Technologies.
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CNIT131 Internet Basics & Beginning HTML
Cascading Style Sheets Boxes
PHP MySQL Crash Course with HTML CSS
Implementing Responsive Design
Organizing Content with Lists and Tables
CSS Bootstrap.
What’s New In Bootstrap v4?
Front-End Framework for Responsive Web Sites
Responsive Design and Twitter Bootstrap
Positioning Objects with CSS and Tables
Introduction to Bootstrap Bootstrap සදහා හැදින්වීම
© 2016, Mike Murach & Associates, Inc.
DHTML tidbits.
User Interface Design and Usability Bootstrap
CS3220 Web and Internet Programming Page Layout with CSS
Bootstrap A popular HTLM, CSS, and JS framework for developing responsive, mobile first projects on the web.
CS3220 Web and Internet Programming Introduction to Bootstrap
IS1500: Introduction to Web Development
CS3220 Web and Internet Programming Page Layout with CSS
Bootstrap響應式網頁設計 (Responsive Web Design, RWD)
HTML5 Level III Responsive Web Design (RWD) and Front-End Frameworks
Revision.
Objectives Create a reset style sheet Explore page layout designs
IBM Kenexa BrassRing on Cloud Responsive Apply: Visual Branding Tool
Bootstrap Components Reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Fixed Positioning.
DHTML tidbits.
Responsive Web Design and Bootstrap
06 | Introduction to Bootstrap
DHTML tidbits.
Responsive Grid Layout with Bootstrap
Responsive Web Design (RWD)
Chapter 2 Bootstrap Grid System
CS3220 Web and Internet Programming Page Layout with CSS
Responsive Web Design and Bootstrap
HTML5 Level III Responsive Web Design (RWD) and Front-End Frameworks
Web Page Layout Imran Rashid CTO at ManiWeber Technologies.
Bootstrap 4 December 17, 2018.
Web Client Side Technologies Raneem Qaddoura
Web Client Side Technologies Raneem Qaddoura
CS3220 Web and Internet Programming More CSS
Positioning Objects with CSS and Tables
Presentation transcript:

CS3220 Web and Internet Programming Introduction to Bootstrap Chengyu Sun California State University, Los Angeles

About Bootstrap https://getbootstrap.com/ Originally developer by Twitter Most popular web UI library in the world “Responsive, mobile-first”

Adding Bootstrap 4 to HTML Require HTML 5, CSS, and JavaScript (some components) Starter Template at https://getbootstrap.com/docs/4.1/getting-started/introduction/

Overview Layout Components: various pre-built UI components like buttons Content: structures that contains content like tables Utilities: convenient and/or responsive ways to control various element properties like border, spacing, and visibility Icons: use external icon sets

Responsive Containers Fixed-width (max-width changes based on screen size) .container-fluid Full-width

Grid Bootstrap layout is based on a grid system with rows (.row) and columns (.col, .col-<n>, and .col-<device>-<n>) Each row has 12 columns Example: grid.html Auto-width column Total # of columns: 12, <12, >12

Make It Responsive … 5 device categories (grid breakpoints) based on screen width Extra small Small (sm) Medium (md) Large (lg) Extra (large) Phone (portrait) Phone (landscape) Tablet Desktop

… Make It Response col-12: 12-column wide when the device is extra small or above col-12 col-md-4: 4-column wide when the device is medium or above; 12-column wide otherwise col-12 col-md-4 col-lg-3: ??

My Globe Example 3-column layout Responsive behavior Header and menu

Component: Navbar ... <nav> Brand .navbar .navbar-expand-<device> Color Scheme Brand Link, image, and/or text .navbar-brand

… Component: Navbar Menu Menu button and collapse behavior <ul> with .navbar-nav <li>with .nav-item <a> with .nav-link Menu button and collapse behavior <button> with .navbar-toggler and an icon A collapsible element with .collapse and .navbar-collapse

About Bootstrap Utilities Q: Why not just use plain CSS? A: Convenience, Responsiveness, and Theme

Utilities: Border and Color Color theme

Utilities: Margin and Padding {property}{sides}-{size} or {property}{sides}-{breakpoint}-{size} See https://getbootstrap.com/docs/4.1/utilities/spacing/

Utility: Display https://getbootstrap.com/docs/4.1/utilities/display/ .d-<value>, .d-<device>-<value> Value could be none, inline, block, and so on

Show/Hide Elements Responsively d-none: hide on extra small or above (i.e. always hide) d-none d-md-block: display as a block element on medium or above; hide otherwise d-none d-md-block d-lg-none: ??

Using Font Awesome Icons https://fontawesome.com/start Add Font Awesome CSS to your page Search for icons you want to use The greyed-out ones are not free Click on "Start Using This Icon" and copy & paste the HTML code Read the documentation for more information