W11S01 Bootstrap
W11S01 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, modals, image carousels and many other, as well as
optional JavaScript plugins
● Bootstrap also gives you the ability to easily create responsive designs.
Why Use Bootstrap? 2
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, Edge, Safari, and Opera)
Bootstrap Versions 3
1 2 3 4 5
Bootstrap, originally On January 31, 2012, On August 19, 2013, Mark Otto Bootstrap 5 was
named Twitter Bootstrap 2 was Bootstrap 3, was announced Bootstrap officially released on
Blueprint, at Twitter released. his version released. It redesigned 4 on October 29, May 5, 2021
as a framework to supports responsive components to use flat 2014. Bootstrap 4 was
encourage consistency web design design and a mobile finalized on January
across internal tools first approach. 18, 2018
Bootstrap Versions 5
● Bootstrap comes bundled with basic HTML and CSS design templates that include
many common UI components.
● These include: Typography, Tables, Forms, Buttons, Glyphicons, Dropdowns,
Buttons and Input Groups, Navigation, Pagination, Labels and Badges, Alerts,
Progress Bars, Modals, Tabs, Accordions, Carousels, and many others.
● These Bootstrap templates are made available as well-factored CSS classes that
you can apply to your HTML to achieve different effects.
Bootstrap Grid System 9
Output:
Grid System (Unequal Columns) 12
Output:
Bootstrap Typography 13
● Buttons are one of the things every browser renders totally differently.
● If you want to have consistent design across all browsers, this is potentially a big
problem. Luckily, Bootstrap has an elegant solution for buttons.
● Bootstrap provides different styles of buttons:
● To achieve the button styles above, Bootstrap has the following classes: .btn, .btn-
default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger, .btn-link
Bootstrap Button Group 16
● Bootstrap allows you to group a series of buttons together (on a single line) in a
button group:
● A navigation bar is a navigation header that is placed at the top of the page:
● With Bootstrap, a navigation bar can extend or collapse, depending on the screen
size.
● A standard navigation bar is created with <nav class="navbar navbar-default">.
Bootstrap Navigation Bar 18
● Navbar Text: to vertical align any elements inside the navbar that are not links.
● Fixed Navigation Bar: can also be fixed at the top or at the bottom of the page.
● Collapsing The Navigation Bar: hide the navigation bar; and only show it when
it is needed.
Credits: Slidesgo