Bootstrap
Framework CSS com grid, componentes e utilitários. O bundle JS inclui o Popper.
Site oficialInstalação
<link rel="stylesheet" href="https://cdn.rscsistemas.com.br/bootstrap/5.3.8/css/bootstrap.min.css"
integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
<script src="https://cdn.rscsistemas.com.br/bootstrap/5.3.8/js/bootstrap.bundle.min.js"
integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
Como usar
Inclua o CSS no <head> e o JS (bundle, já com Popper) antes de fechar o <body>. As tags com SRI estão logo acima.
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS do Bootstrap aqui -->
</head>
<body>
<div class="container py-4">
<h1 class="h3">Olá</h1>
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exemplo">Abrir</button>
</div>
<div class="modal fade" id="exemplo" tabindex="-1">
<div class="modal-dialog"><div class="modal-content">
<div class="modal-body">Conteúdo do modal</div>
</div></div>
</div>
<!-- JS do Bootstrap aqui -->
</body>
</html>
Observações
- Use o
bootstrap.bundle.min.js: ele já inclui o Popper, necessário para dropdowns, tooltips e popovers. - Tooltips e popovers precisam ser inicializados via JS:
document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(el => new bootstrap.Tooltip(el));
- Documentação oficial: getbootstrap.com
Arquivos da versão 5.3.8
-
LICENSE1,1 KBsha384-WyeULmOarnkxIWJQ6Byifrdakj+J3Z1ONoIjyqqdmUvfwML66D4izPruHb7zDZbG -
css/bootstrap.min.css226,7 KBsha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB -
js/bootstrap.bundle.min.js78,6 KBsha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI
URL base
https://cdn.rscsistemas.com.br/bootstrap/5.3.8/