The Bootstrap framework consists of the following components: CSS preprocessors: SASS and LESS Responsive layout system: grid system and responsive utility class components: UI elements and JavaScript Plug-in themes and templates: pre-made styles and pre-built Page Tools and Utilities: Icon Sets, jQuery, Grunt
Bootstrap Composition
Bootstrap is a popular Front-end framework, which contains the following main components:
CSS Preprocessor:
- SASS: Allows writing CSS using advanced syntax such as nested rules and variables .
- LESS: Write CSS using a CSS-like syntax that allows the use of variables, nesting, and operations.
Responsive layout system:
- Grid system: Create responsive web layouts using a grid-based layout system.
- Responsive Utility Classes: Provides utility classes for controlling how elements appear on different devices.
Components:
- UI components: including buttons, forms, navigation bars, modal boxes and other UI elements.
- JavaScript plugin: Provide interactivity to components such as modals, tooltips, and scroll bars.
Themes and Templates:
- Themes: Provides pre-made styles that can be applied to Bootstrap projects.
- Templates: Provides a set of pre-built pages and components that can be used as a starting point for new projects.
Tools and Utilities:
- Glyphicons Font Icon Set: Provides a set of icons that can be used in Bootstrap projects.
- jQuery: A library for JavaScript that Bootstrap relies on to provide interactivity.
- Grunt: A task runner for automating the build process.
The above is the detailed content of What does bootstrap consist of?. For more information, please follow other related articles on the PHP Chinese website!