Bootstrap과 UI-Bootstrap

22
Bootstrap?! 이철호 @W-MARC @undefine:D @redribbon !=Tech. evangelist Front-end Engineer

Transcript of Bootstrap과 UI-Bootstrap

Page 1: Bootstrap과 UI-Bootstrap

Bootstrap?! 이철호

@W-MARC @undefine:D

@redribbon !=Tech. evangelist

Front-end Engineer

Page 2: Bootstrap과 UI-Bootstrap

Mark Otto

Jacob

Page 3: Bootstrap과 UI-Bootstrap

Bootstrap is the most popular HTML, CSS, and JS framework for

developing responsive, mobile first projects on the web.

http://www.getbootstrap.com

Page 4: Bootstrap과 UI-Bootstrap

Preprocessors Bootstrap ships with vanilla CSS, but its source code

utilizes the two most popular CSS preprocessors, Less and Sass. Quickly get started with precompiled CSS or

build on the source.

Page 5: Bootstrap과 UI-Bootstrap

One framework, every device. Bootstrap easily and efficiently scales your websites and

applications with a single code base, from phones to tablets to desktops with CSS media queries

Page 6: Bootstrap과 UI-Bootstrap

Full of features With Bootstrap, you get extensive and beautiful

documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome

jQuery plugins.

Page 7: Bootstrap과 UI-Bootstrap

Open source Bootstrap is open source. It's hosted, developed, and

maintained on GitHub. MIT license

Page 8: Bootstrap과 UI-Bootstrap

Download Bootstrap CDN

Install with Bower Install with npm

Install with Composer

All javascript plugins require jQuery

Getting started

Page 9: Bootstrap과 UI-Bootstrap

Ctrl+C, Ctrl+V

Just do it

Page 10: Bootstrap과 UI-Bootstrap

Supported browsers Chrome Firefox IE Opera Safari

Android Supported Supported

N/A

Not Supported N/A

iOS Supported N/A Not Supported Supported

Mac OS X Supported Supported Supported Supported

Windows Supported Supported Supported? Supported Not Supported

Feature Internet Explorer 8 Internet Explorer 9

border-radius Not supported Supported

box-shadow Not supported Supported

transform Not supported Supported, with -ms prefix

transition Not supported

placeholder Not supported

Page 11: Bootstrap과 UI-Bootstrap

Internet Explorer will kill you

Page 12: Bootstrap과 UI-Bootstrap

Grid System Bootstrap includes a responsive, mobile first fluid grid

system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined

classes for easy layout options, as well as powerful mixins for generating more semantic layouts.

Page 13: Bootstrap과 UI-Bootstrap

Grid System options

Extra small devices Phones (<768px)

Small devices Tablets (≥768px)

Medium devices Desktops (≥992px)

Large devices Desktops (≥1200px)

Grid behavior Horizontal at all times Collapsed to start, horizontal above breakpoints

Container width None (auto) 750px 970px 1170px

Class prefix .col-xs- .col-sm- .col-md- .col-lg-

# of columns 12

Column width Auto ~62px ~81px ~97px

Grid option class .col-[device prefix]-[number]

Page 14: Bootstrap과 UI-Bootstrap

Grid System

<div class="container"> <div class="row"> <div class="col-xs-12">12</div> </div> <div class="row"> <div class="col-xs-3">03</div> <div class="col-xs-6">06</div> <div class="col-xs-3">03</div> </div> <div class="row"> <div class="col-xs-4">04</div> <div class="col-xs-4">04</div> <div class="col-xs-4">04</div> </div> <div class="row"> <div class="col-xs-6">06</div> <div class="col-xs-6">06</div> </div> <div class="row"> <div class="col-xs-8">08</div> <div class="col-xs-6">06</div> </div> </div>

Page 15: Bootstrap과 UI-Bootstrap

Components Over a dozen reusable components built to provide

iconography, dropdowns, input groups, navigation, alerts, and much more.

Glyphicons Dropdowns

Button groups Button dropdowns

Input groups Navs

Navbar Breadcrumbs

Pagination Labels

Badges Jumbotron

Page header Thumbnails

Alerts Progress bars Media object

List group Panels

Responsive embed Wells

http://getbootstrap.com/components/

Page 16: Bootstrap과 UI-Bootstrap

JavaScript Bring Bootstrap's components to life with over a dozen

custom jQuery plugins. Easily include them all, or one by one.

Transitions Modal

Dropdown Scrollspy

Tab Tooltip

Popover Alert

Button Collapse Carousel

Affix

http://getbootstrap.com/javascript/

Page 17: Bootstrap과 UI-Bootstrap

Customize Customize Bootstrap's components, Less variables, and

jQuery plugins to get your very own version.

http://getbootstrap.com/customize/

Page 18: Bootstrap과 UI-Bootstrap

Bootstrap components written in pure AngularJS by the AngularUI Team

UI Bootstrap?!

https://angular-ui.github.io/bootstrap/

Page 19: Bootstrap과 UI-Bootstrap

Dependencies This repository contains a set of native AngularJS

directives based on Bootstrap's markup and CSS. As a result no dependency on jQuery or Bootstrap's JavaScript

is required.

Page 20: Bootstrap과 UI-Bootstrap

Dependencies - AngularJS (requires AngularJS 1.3.x, tested with 1.4.7).

0.12.0 is the last version of this library that supports AngularJS 1.2.x.

- Bootstrap CSS (tested with version 3.1.1). This version

of the library (0.14.3) works only with Bootstrap CSS in version 3.x. 0.8.0 is the last version of this library that supports Bootstrap CSS in version 2.3.x.

Page 21: Bootstrap과 UI-Bootstrap

- AngularJS의 장점을 그대로 흡수 - Bootstrap 경량화

- 간결한 Code

- Cross browsing? - AngularJS?? - 낮은 version! - Bootstrap4???

VS

Page 22: Bootstrap과 UI-Bootstrap

Spring Framework != JAVA Bootstrap != responsive web