BS Unit 5 My Notes
BS Unit 5 My Notes
BS Unit 5 My Notes
1) CSS Frameworks
2) Bootstrap Introduction
3) GridSystem
4) Layouts Fixed
5) Fluid
6)Tables in Bootstrap
7) Forms in Bootstrap
8) Bootstrap elements
9)Image Handling in bootstrap
CSS Frameworks
Pre-written libraries of CSS code containing styles for various components,
layouts, and utilities. They aim to standardise the process of web development by
providing a set of reusable and customizable styles that developers can easily
incorporate into their projects.
BootStrap
● The primary purpose of Bootstrap is to provide a comprehensive framework for
building responsive and mobile-first websites and web applications quickly and
efficiently.
● Bootstrap offers a wide range of pre-designed UI components, including grids,
navigation bars, buttons, forms, cards, and modals.
● These components are styled and optimised for both desktop and mobile devices,
ensuring a consistent and visually appealing user experience across different
screen sizes.
● Bootstrap also includes JavaScript plugins for common functionalities such as
dropdowns, carousels, modals, tooltips, and scrollspy.
● Bootstrap is built on a responsive grid system that allows developers to create
flexible and adaptive layouts for their projects.
● The grid system consists of 12 columns, which can be easily customised and
rearranged to create complex layouts.
● Bootstrap provides predefined breakpoints and utility classes for hiding, showing,
and resizing elements based on different screen sizes, making it easy to create
responsive designs.
● Bootstrap offers extensive customization options, allowing developers to tailor the
framework to their project's specific requirements.
● Bootstrap has a large and active community of developers who contribute to its
development, maintenance, and support.
● The official Bootstrap documentation provides comprehensive guides, examples,
and code snippets to help developers learn and utilise the framework effectively.
● There are also numerous third-party resources, tutorials, and plugins available for
Bootstrap, further enhancing its usability and versatility.
<div class="container">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</tbody>
</table>
</div>
</div>
Forms in Bootstrap
● Bootstrap offers styles and components for creating stylish and responsive forms
quickly.
● It includes predefined styles for form controls such as inputs, selects, checkboxes,
radio buttons, and buttons.
● Developers can use grid classes to organise form elements into columns and rows,
making it easy to create complex form layouts.
● Bootstrap also provides validation styles and feedback icons for form validation.
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Email
address</label>
</form>