1.2 KiB
1.2 KiB
bootstrap
Links bootstrap class reference https://bootstrapshuffle.com/classes
docs
https://getbootstrap.com/docs/5.0/content/typography/
cdn (all under head tag)
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
classes
- padding : p-5, px-5,py-2,pt-4, same for margin but starts with m instead of p
- font : fs-1, fs-lg-1, fs-md-1
- flex : d-flex, justify-content-center
- size : w-100,w-auto

- icons https://icons.getbootstrap.com/
- borders border, border-top, border-bottom, border-start,border-end . start for left and end for right
- dropdown hover color change
.dropdown-menu > li > a:hover { background-image: none; background-color: red; }