about bootstrap

24
Bootstrap “The most popular front-end framework for developing responsive, mobile first projects on the web.” Picture by Benjamin Eshan on Flickr https://bitly.com/

Upload: entando

Post on 26-Jun-2015

369 views

Category:

Technology


0 download

DESCRIPTION

Learn more about the history and properties of Bootstrap framework. Presentation slides used during the workshop Developing websites with Bootstrap and a WCMS/Portal system.

TRANSCRIPT

Page 1: About Bootstrap

Bootstrap“The most popular front-end framework for developing

responsive, mobile first projects on the web.”

Picture by Benjamin Eshan on Flickr https://bitly.com/

Page 2: About Bootstrap

About meAndrea Dessì

• ~10 years of front-end development experience

• Html, css, js, ui, ux, jsp, java, maven, nodejs…

• Entando Core Team

Page 3: About Bootstrap

Bootstrap: What is it?• A tool to develop html pages• Extensible and personalizable

UI: tables, buttons, forms, typography, carousels, panels...

http://getbootstrap.com/

Page 4: About Bootstrap

A little bit of historyBorn inside Twitter and developed by Mark Otto (@mdo) and Jacob Thornton (@fat)

v.1: 2011, first public version

v.2: 2012, introduction of responsive design

v.3: 2013, mobile first approach

Page 5: About Bootstrap

Why use it?

• Browser, desktop and mobile compatibility

• Easy to use

• Customizable

• Open Source (MIT)

Page 6: About Bootstrap

How do we use it?

Simply start from here

<link href=”bootstrap.css" rel="stylesheet”>

<script src="jquery.js"></script>

<script src=”bootstrap.js"></script>

Page 7: About Bootstrap

How to use it

Page 8: About Bootstrap

Grids• System based on 12 columns

• Fluid or fixed

• Pluggable

• Optimized for: xs (-768 px) sm (768/992 px)md (992/1200 px)lg (1200+ px)

Page 9: About Bootstrap

Grids

Page 10: About Bootstrap

Forms• Cross-browser UIs

• Horizontal or Vertical

• State (success, error, warning)

• Size (xs, sm, md, lg)

Page 11: About Bootstrap

Form

Page 12: About Bootstrap

Buttons• Thought for web apps.

• Variants: large, small, extra small, primary, success, info, warning, danger, link

Page 13: About Bootstrap

Icons• Icon Font with 200 icons (Glyphicons)• Webapp ready• Can be changed with another set

Page 14: About Bootstrap

Texts• Titles, paragraphs, lists

• Size manahement

• Formatting: i, b, s, small

• Labels and Badges

Page 15: About Bootstrap

Text

Page 16: About Bootstrap

Tables• Alternate lines (.table-striped)

• With borders (.table-bordered)

• Active (.table-hover)

• Condensed (.table-condensed)

• Responsive

Page 17: About Bootstrap

Tables

Page 18: About Bootstrap

Panels“While not always necessary, sometimes you

need to put your DOM in a box. For those situations, try the panel component.”

• Can include headings

• Contain any element

Page 19: About Bootstrap

Panels

Page 20: About Bootstrap

Other UI elements

• Buttons Group

• Input Groups

• Alerts

• Progress Bar

Page 21: About Bootstrap

Javascript Components• Tooltip

• Modal

• Carousel

• Popover

More: Transition, Dropdown, Scrollspy, Tab, Alert, Collapse, Affix

Page 22: About Bootstrap

Customization

• With LESS o Sass

• Documentazione in source files

• Compile on-the-fly with LESS

Page 23: About Bootstrap

Less, Sass

• Are extensions of CSS

• Simplify coding

• Allow variables, functions, calculations…

http://lesscss.org/

http://sass-lang.com/

Page 24: About Bootstrap

Thank you

Andrea DessìSenior UI Developer

[email protected]