initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
34
joplin notion extension/Web Development/CSS/bootstrap.md
Normal file
34
joplin notion extension/Web Development/CSS/bootstrap.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
bootstrap
|
||||
|
||||
**Links**
|
||||
bootstrap class reference
|
||||
https://bootstrapshuffle.com/classes
|
||||
|
||||
docs
|
||||
https://getbootstrap.com/docs/5.0/content/typography/
|
||||
|
||||
**cdn** (all under head tag)
|
||||
```html
|
||||
<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
|
||||
```css
|
||||
.dropdown-menu > li > a:hover {
|
||||
background-image: none;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
```
|
||||
Loading…
Reference in a new issue