Professional Documents
Culture Documents
TBS/2019-2020
CSS Frameworks
2
A CSS framework
Twitter bootstrap
Tailwind CSS
Bulma
Materialize
Semantic UI
Foundation
Skeleton
Kube
And many many others…
Twitter Bootstrap
4
Twitter Bootstrap is
Characteristics
Mobile first approach:
Since Bootstrap 3, the framework consists of Mobile first styles
throughout the entire library instead of in separate files.
Responsive design:
Bootstrap's responsive CSS adjusts to Desktops, Tablets and
Mobiles.
Easy to get started:
With just the knowledge of HTML and CSS anyone can get started
with Bootstrap.
The Bootstrap official site has a good documentation.
Browser Support:
It is supported by all popular browsers.
What Bootstrap includes?
9
Scaffolding Components
Bootstrap provides a basic Bootstrap contains over a dozen
structure with Grid System, reusable components built to
link styles, background... provide iconography,
dropdowns, navigation, alerts,
CSS
popovers, and much more. ...
Bootstrap comes with feature
of global CSS settings,
Customize
fundamental HML elements
and enhanced with extensible We can customize Bootstrap
classes, and an advanced grid components and jQuery
system. plugins to get your very own
version.
Javascript
Bootstrap contains a variety
of customized jQuery plugins.
We can easily include them all,
or one by one.
Where to get bootstrap?
10
You can:
Example:
If you want to use the predefined style provided in the file
Bootstrap.min.css, You have to call this file in the <head>:
<link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.
min.css">
Bootstrap CDN
12
CSS
Place the stylesheet <link> into your <head> before all other
stylesheets to load Bootstrap CSS.
JS
Many of Bootsrap components require the use of JavaScript function.
Specifically, they require jQuery, Popper.js, and other JavaScript
plugins.
Place the js <script> near the end of your pages, right before the
closing </body> tag, to enable them. jQuery must come first, then
Popper.js, and then our JavaScript plugins.
Starter template
13
JS scripts
.Container
14
Margin Margin
Grid system
17
Fix
Go to next line
Typography-Headings
22
Example:
Typography-alignment
24
Typography-adresses
25
Syntax
Examples
Navigation & Navigation Bars
30
Navigation (nav)
.nav modifiers
Navigation Bar (navbar)
32
.navbar modifiers
Examples
Images
35