4. CSS FRAMEWORKS
• A CSS framework is a software framework that is
meant to allow for easier, more standards-
compliant web design using the CSS language
• Most of these frameworks contain at least a grid
• More functional frameworks also come with more
features and additional JavaScript based functions,
but are mostly design oriented and unobtrusive
(this differentiates these from functional and full
JavaScript frameworks)
5. CSS FRAMEWORKS
CSS frameworks offer different modules and tools:
• reset style sheet
• grid especially for responsive web design
• web typography
• set of icons in sprites or icon fonts
• styling for tooltips, buttons, elements of forms
• parts of graphical user interfaces like accordion, tabs,
slideshow or modal windows (Lightbox)
• equalizer to create equal height content
• often used CSS helper classes (left, hide)
6. CSS FRAMEWORKS
Most widely used CSS Frameworks:
• Bootstrap 4
• Foundation
• Bulma
• Tailwind CSS
• Semantic UI
• Materialize CSS
8. INSTALLING/USING BOOTSTRAP
4
There are two ways of including Bootstrap 4 into
your project:
• Pulling Bootstrap source files by using package
managers (npm, RubyGems, Composer, NuGet) –
check documentation
• With this method you can customize which files to
include in your final product and reduce load
• Using the BootstrapCDN1
• Not customizable, includes all the framework
1CDN – Content delivery network
9. USING THE BOOTSTRAP CDN
To use the Bootstrap CDN just:
• Navigate to https://getbootstrap.com – Get Started
• Copy-paste the CSS and JS includes in the <head>
section of your HTML document
10. BOOTSTRAP 4 COMPONENTS
Alerts
• Provide contextual feedback messages for typical
user actions with the handful of available and
flexible alert messages
12. BOOTSTRAP 4 COMPONENTS
Breadcrumb
• Indicate the current page’s location within a
navigational hierarchy that automatically adds
separators via CSS
13. BOOTSTRAP 4 COMPONENTS
Buttons
• Use Bootstrap’s custom button styles for actions in
forms, dialogs, and more with support for multiple
sizes, states, and more
14. BOOTSTRAP 4 COMPONENTS
Button group
• Group a series of buttons together on a single line
with the button group, and super-power them with
JavaScript
15. BOOTSTRAP 4 COMPONENTS
Card
• Bootstrap’s cards provide a flexible and extensible
content container with multiple variants and options
19. BOOTSTRAP 4 COMPONENTS
Forms
• Form control styles, layout options, and custom
components for creating a wide variety of forms
20. BOOTSTRAP 4 COMPONENTS
Input group
• Easily extend form controls by adding text, buttons,
or button groups on either side of textual inputs,
custom selects, and custom file input
22. BOOTSTRAP 4 COMPONENTS
List group
• List groups are a flexible and powerful component
for displaying a series of content. Modify and extend
them to support just about any content within
23. BOOTSTRAP 4 COMPONENTS
Media object
• Bootstrap’s media object to construct highly
repetitive components like blog comments, tweets,
and the like
24. BOOTSTRAP 4 COMPONENTS
Modal
• Use Bootstrap’s JavaScript modal plugin to add
dialogs to your site for lightboxes, user
notifications, or completely custom content
26. BOOTSTRAP 4 COMPONENTS
Navbar
• Bootstrap’s powerful, responsive navigation header,
the navbar. Includes support for branding,
navigation, and more, including support for collapse
plugin
30. BOOTSTRAP 4 COMPONENTS
Scrollspy
• Automatically update Bootstrap navigation or list
group components based on scroll position to
indicate which link is currently active in the viewport
31. BOOTSTRAP 4 COMPONENTS
Spinners
• Indicate the loading state of a component or page
with Bootstrap spinners, built entirely with HTML,
CSS, and no JavaScript
32. BOOTSTRAP 4 COMPONENTS
Toasts
• Push notifications to your visitors with a toast, a
lightweight and easily customizable alert message
33. BOOTSTRAP 4 COMPONENTS
Tooltips
• Bootstrap tooltips with CSS and JavaScript using
CSS3 for animations and data-attributes for local
title storage
34. BOOTSTRAP DEMO
How did
you do
that?
Where’d
you get that
from?
I read the
documentati
on!
https://getbootstrap.com/docs/4.3/getting-
69. THEMING BOOTSTRAP
• Theming is accomplished by SASS variables,
SASS maps, and custom CSS
• You can only theme projects with Bootstrap
imported locally, you cannot theme the CDN
71. SCHEDULE FOR NEXT 4 WEEKS
Week Week span Activity
#6 04 – 10
November
C06 + L06: Bootstrap
#7 11 – 17
November
OFF – Web Technologies (C + L)
#8 18 – 24
November
Course Partial Exam:
C01 – C06
Time allocation/student or group will
be sent out
Laboratory Test 01:
L02 – L05: HTML, CSS, SCSS
#9 25 Nov – 1 Dec C07 + L07: JavaScript (Part 1)
… to be continued!