Bootstrap 5 Getting Started Bootstrap 5 Getting Started ( H T T P S / / G E T B O O T S T R A P C O M ) https //getbootstrap com/ Why Bootstrap? https //elephantsolutions net/best css frameworks in 20[.]
Trang 1Bootstrap 5
Getting Started
( H T T P S : / / G E T B O O T S T R A P C O M )
Trang 2Why Bootstrap?
https://elephantsolutions.net/best-css-frameworks-in-2021/
https://www.npmtrends.com/bootstrap-vs-bulma-vs-material-ui-vs-materialize-css-vs-semantic-ui-vs-tailwind-vs-uikit
Trang 35 RTL
Trang 41 Introduction
1.1 Bootstrap intro
1.2 Quick start
1.3 Starter template
Trang 51.1 Bootstrap intro.
responsive, mobile-first sites
– A responsive grid system
– Reusable classes to help style our content
– Don’t need to worry about browser compatibility
– Many other things too
Trang 61.2 Quick start
Trang 72 Download
- Npm: npm install bootstrap
- Yarn: yarn add bootstrap
- RubyGems: gem install bootstrap -v 5.1.3
- NuGet: Install-Package bootstrap
Trang 8Starter template
<!DOCTYPE html>
<html lang="en">
<head>
<! Required meta tags >
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<! Bootstrap CSS >
<link rel="stylesheet" href=“plugins/bootstrap/css/bootstrap.min.css">
</head>
<body>
Go to Bootstrap website
</a>
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<! Optional JavaScript >
</body>
</html>
Trang 93 Contents
3.1 CSS files
3.2 JS files
Trang 103.1 CSS files
Trang 113.2 JS files
Trang 124 Browsers and devices
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
Opera >= 48
Edge >= 12
not Explorer <= 11
Trang 13Mobile devices
Trang 14Desktop browsers
Trang 155 RTL
▪ Learn how to enable support for right-to-left text in
Bootstrap across our layout, components, and utilities
▪ Required HTML
2 Add an appropriate lang attribute, like lang="ar" , on the
<html>
Trang 166 Theme colors
Trang 17THE END