Web Lecture 13 - Bootstrap
Web Lecture 13 - Bootstrap
Java Script
Agenda
Bootstrap, originally named Twitter Blueprint, was developed by Mark Otto and Jacob Thornton
at Twitter as a framework to encourage consistency across internal tools. Before Bootstrap,
various libraries were used for interface development, which led to inconsistencies and a high
maintenance burden. According to Otto:
A super small group of developers and I got together to design and build a new internal tool
and saw an opportunity to do something more. Through that process, we saw ourselves build
something much more substantial than another internal tool. Months later, we ended up with an
early version of Bootstrap as a way to document and share common design patterns and assets
within the company.
After a few months of development by a small group, many developers at Twitter began to
contribute to the project as a part of Hack Week, a hackathon-style week for the Twitter
development team. It was renamed from Twitter Blueprint to Bootstrap and released as an
open-source project on August 19, 2011. It has continued to be maintained by Otto, Thornton, a
small group of core developers, and a large community of contributors
BOOTSTRAP 4 GRID SYSTEM
span 4 span 8
span 6 span 6
span 12
GRID CLASSES
DEMO-1
BOOTSTRAP 4 FORMS
DEMO-2
BUTTON STYLES
btn-primary
btn-secondary
btn-success
btn-info
btn-warning
btn-danger
btn-dark
btn-light
btn-link
btn-lg
btn-sm
btn-block
BOOTSTRAP 4 FORMS
DEMO-3
BOOTSTRAP 4 IMAGE SHAPES
Rounded Corners
The .rounded class adds rounded corners to an image.
Circle
The .rounded-circle class shapes the image to a circle.
Thumbnail
The .img-thumbnail class shapes the image to a thumbnail (bordered):
Aligning Images
Float an image to the right with the .float-right class or to the left with .float-
left:
BOOTSTRAP 4 IMAGE SHAPES
DEMO-4
Questions?