Top Banner
NURZAIDAH BINTI ZAHARI
36
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Bootstrap   how it can help you build better websites

NURZAIDAH BINTI ZAHARI

Page 2: Bootstrap   how it can help you build better websites

What is a (web) UI Framework?

A (web) UI framework provides a set of CSS classes and/or Javascript functions that:• Simplify the development of layout• Provide an attractive look-and-feel• Provide consistent results across browsers.

Page 3: Bootstrap   how it can help you build better websites

Example UI Frameworks

Page 4: Bootstrap   how it can help you build better websites

What is Bootstrap?

Bootstrap is a free front-end framework for faster and easier web development

Bootstrap includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, and many other, as well as optional JavaScript plugins

Bootstrap also gives you the ability to easily create responsive designs

Page 5: Bootstrap   how it can help you build better websites

So, what is responsive design?

Responsive web design is about creating web sites which automatically adjust themselves to look good on all devices, from small phones to large desktops.

Page 6: Bootstrap   how it can help you build better websites

Then, why we need a

responsive design?

Page 7: Bootstrap   how it can help you build better websites
Page 8: Bootstrap   how it can help you build better websites

How can we better serve our increasingly mobile users?

Design: Build responsiveness into your websites and applications

Content: Think about content from a mobile first perspective

Page 9: Bootstrap   how it can help you build better websites

Design: Build responsiveness into your websites and applications

Page 10: Bootstrap   how it can help you build better websites

There are currently three types of "hosts" for modern Internet applications:› Laptops

operating system irrelevant (use browser) normal size screens (~1280 pixels wide) large screens (~2500+ pixels wide)

› Tablets Two operating systems (iOS, Android) typical size screens (~768 pixels wide)

› Phones Three operating systems (iOS, Android,

Windows) small screen sizes (480 – 640 pixels wide)

Page 11: Bootstrap   how it can help you build better websites

Content: Think about content from a mobile first perspective

A responsive website does not make responsive content

Curate your content down to its essential points

Consider the needs of the mobile user first

Page 12: Bootstrap   how it can help you build better websites

Advantages of Bootstrap

Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap

Responsive features: Bootstrap's responsive CSS adjusts to phones, tablets, and desktops

Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework

Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Safari, and Opera)

Page 13: Bootstrap   how it can help you build better websites

EXAMPLEResponsive Non Responsive

http://www.disney.my/ http://www.tnb.com.my/

Page 14: Bootstrap   how it can help you build better websites

Where to Get Bootstrap?

http://getbootstrap.com

Page 15: Bootstrap   how it can help you build better websites
Page 16: Bootstrap   how it can help you build better websites

Create the Bootstrap Website

Create your beginning project HTML5 code

To ensure proper rendering and touch zooming, add the following <meta> tag inside the <head> element

Page 17: Bootstrap   how it can help you build better websites
Page 18: Bootstrap   how it can help you build better websites

Container

Page 19: Bootstrap   how it can help you build better websites

Grid System

Grid Classes

Page 20: Bootstrap   how it can help you build better websites

Example Stacked-to-horizontal Mobile and desktop Mobile, tablet, desktop Column wrapping

http://getbootstrap.com/css/#grid-example-basic

Page 21: Bootstrap   how it can help you build better websites

Bootstrap Element

TypographyTableFormButtonImages

Page 22: Bootstrap   how it can help you build better websites

Typography

Heading (<h1>--<h6>)

Example

Page 23: Bootstrap   how it can help you build better websites

Create lighter, secondary text for heading (<small>)

Page 24: Bootstrap   how it can help you build better websites

Marked text (<mark>)

Alignment classes

Page 25: Bootstrap   how it can help you build better websites

Naming Source /Quote

Address

http://www.w3schools.com/bootstrap/bootstrap_typography.asp

http://getbootstrap.com/css/#type

Page 26: Bootstrap   how it can help you build better websites

Basic table

Table

Example

Page 27: Bootstrap   how it can help you build better websites

Striped Rows

Bordered Table

Page 28: Bootstrap   how it can help you build better websites

Contextual Classes

Responsive Table

http://www.w3schools.com/bootstrap/bootstrap_tables.asp

http://getbootstrap.com/css/#tables

Page 29: Bootstrap   how it can help you build better websites

Basic form

Form

Example

Page 30: Bootstrap   how it can help you build better websites

Inline form

Horizontal form

Page 31: Bootstrap   how it can help you build better websites

Validation State

Page 32: Bootstrap   how it can help you build better websites

Default button

Options Button

ButtonExample

Page 33: Bootstrap   how it can help you build better websites

Sizes

Page 34: Bootstrap   how it can help you build better websites

Responsive Images

Image shapes

ImagesExample

Page 35: Bootstrap   how it can help you build better websites

Others component visit :

http://getbootstrap.com/&

http://www.w3schools.com/bootstrap/default.asp

Page 36: Bootstrap   how it can help you build better websites

Thank You for spending your time with me.