├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # Bootstrap 5 Tutorial 2 | 3 | - prerequisities: HTML, CSS 4 | 5 | ### BS4 vs BS5 6 | 7 | - support IE 10 and 11 8 | - more colors added in bootstrap 5 9 | - card-deck class is not supported anymore 10 | - jumbotron not supported in bs5 11 | - jQuery is removed and vanila js has taken place in bs5 12 | - bootstrap 5 has own SVG icons 13 | - form elements such as buttons, checkboxes used to look - different based on OS and browser now it remains same 14 | - breakpoints: now 6 break-points xs, sm, md, lg, xl, xxl 15 | 16 | -
17 | 18 | ### [0. welcome to Bootstrap4 and 5](https://youtu.be/Wl6Q472fNCc) 19 | 20 | ### [1. Introduction to Bootstrap](https://youtu.be/SzaWRb-Mm_M) 21 | 22 | #### 1.1 What is Bootstrap? 23 | 24 | - Most powerful and popular Front end framework. 25 | 26 | #### 1.2 Why Bootstrap? 27 | 28 | - It includes HTML, CSS based design for buttons, navigation etc. 29 | - Easier web development 30 | - create navbar, alert boxes, different layout so easily 31 | - Create responsive web page easily 32 | - save time 33 | - open source 34 | 35 | ### [2. Create a bootstrap webpage](https://youtu.be/B7z7_LOCvrs) 36 | 37 | - create a basic html file with 6 heading tags 38 | - How to add bootstrap to your project? 39 | - add css cdn to the head of html file : ` ` 40 | - add js cdn inside the body: ` ` 41 | 42 | ### [3. Containers and grid](https://youtu.be/JVGWXp5uw7o) 43 | 44 | - breakpoints: xs < 576px | sm >=576px | md >=768px | lg >=992 | xl >=1200px | xxl >=1400px 45 | - .container: for x-small it will take 100%; but for other breakpoints it will take maximum not full width of viewport 46 | - .container-fluid 47 | - .container-{breakpoint}; example- .container-md 48 | - example 49 | 50 | ```html 51 |
52 |

Anisul Islam

53 |

Born To Teach.

54 | 55 |

About Me

56 |

57 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Soluta, 58 | repudiandae laboriosam? Odit repudiandae beatae eius modi sapiente eveniet 59 | exercitationem illum. 60 |

61 |
62 | ``` 63 | 64 | - built with flexbox layout 65 | - .row 66 | - .col, .col-{breakpoints}; breakpoints are: xs, sm, md, lg, xl, xxl 67 | - responsive grid 68 | - example: 69 | ````html 70 |
71 |

My Services

72 |
73 |

Web development

74 |

Lorem, ipsum dolor sit amet consectetur adipisicing elit.

75 |
76 |
77 |

Web development

78 |

Lorem, ipsum dolor sit amet consectetur adipisicing elit.

79 |
80 |
81 |

Web development

82 |

Lorem, ipsum dolor sit amet consectetur adipisicing elit.

83 |
84 |
85 | ```html 86 | ```` 87 | 88 | ### [4. bootstrap 4 vs bootstrap5](https://youtu.be/dMU3R1dWqo4) 89 | 90 | ### [5. colors and spacing - Margin, padding](https://youtu.be/OpxU0T_Pa4w) 91 | 92 | - colors: primary(blue), success(green), info(light blue), warning(orange), danger(red), secondary(grey), white, dark, light 93 | - bg-colorName 94 | - text-colorName 95 | - p-0 (no padding), p-1(0.25rem), p-2(0.5rem), p-3(1rem), p-4(1.5rem) to p-5 96 | - pl-value; pr-value, pt-value; pb-value; px-value; py-value; 97 | - responsive padding: p-3, p-lg-5 98 | - use m for margin 99 | 100 | ### [6. border and image](https://youtu.be/oPlPz2gf5OY) 101 | 102 | - border, border-colorName, rounded-left, rounded-circle 103 | - responsive image: img-fluid 104 | - thumbnail image: img-thumbnail 105 | - aligning-image: float start, float-end 106 | - centering image: mx-auto d-block or make the parent div text-center 107 | 108 | ### [7. Text and font](https://youtu.be/AbhMm6TYNKg) 109 | 110 | - text-left, text-right, text-center, text-justify 111 | - responsive text-alignment: text-sm-left text-md-center 112 | - text-lowercase, text-uppercase, text-capitalize 113 | - text-decoration-none 114 | 115 | ### [8. dismissible alert](https://youtu.be/jJnr3kvxmgU) 116 | 117 | - example 118 | ```html 119 | 127 | ``` 128 | 129 | ### [9. blockquote and abbreviations](https://youtu.be/GggXq0Dh-Jc) 130 | 131 | - example 132 | 133 | ```html 134 | 135 | ``` 136 | 137 | ### [10. button, button group, list group](https://youtu.be/rU9glyS3J6o) 138 | 139 | - btn, btn-link, btn-group 140 | - btn-colorName; example: btn-primary, btn-light 141 | - btn-outline-colorName 142 | - button modifiers: btn-lg, btn-sm, btn-block, btn-group-lg, disabled 143 | - example 144 | 145 | ```html 146 | 147 | ``` 148 | 149 | ### [11. collapse and pagination](https://youtu.be/pKrfwnZ2Rxk) 150 | 151 | - example 152 | 153 | ```html 154 | 155 | learn more 156 | 166 |
167 |

168 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Id dolorem sed 169 | quisquam repudiandae sequi voluptatibus, aperiam aliquam adipisci nam 170 | maiores quia unde necessitatibus veritatis eligendi in laboriosam, officia 171 | porro? Explicabo. 172 |

173 |
174 | 175 | 176 | 183 | ``` 184 | 185 | ### [12. Navigation menu](https://youtu.be/ZbAvtMpEzcA) 186 | 187 | - example 188 | 189 | ```html 190 | 191 | 205 | ``` 206 | 207 | ### [13. Toggleable dynamic tab and pill](https://youtu.be/VWxSH4zjF8c) 208 | 209 | ### [14. Navbar](https://youtu.be/Exq0vXXe3DM) 210 | 211 | ### [15. Card](https://youtu.be/hXNglSpEv5Q) 212 | 213 | - example 214 | 215 | ```html 216 |
217 |
218 |
219 | hsc ict 223 |
224 |

Card Title

225 |

card text is here. add your description

226 | visit the link 229 |
230 |
231 |
232 |
233 | ``` 234 | 235 | ### [16. Media objects](https://youtu.be/cqEvL_kIbTE) 236 | 237 | ### [17. Table](https://youtu.be/74Ge1I0FzBk) 238 | 239 | - we can use table-colorName on table, tr, td 240 | - Use .table-striped to add zebra-striping to any table row within the . 241 | - example 242 | 243 | ```html 244 | 245 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 266 | 267 | 268 | 269 | 271 | 272 | 273 | 274 | 275 |
246 | My Education 247 |
QualificationInstitutionPassing YearGrade
SSCSingerKatch High School and College20063.44 / 5.00
HSC 265 | SingerKatch High School and College2008
BSc in CSE 270 | Leading University20173.92 / 4.00
276 | ``` 277 | 278 | ### [18. Form ](https://youtu.be/eDE7TndaKeM) 279 | 280 | - form controls create block level and allows us to style input and textarea with custom sizing, designing and more. 281 | - sizing: form-control, form-control-lg, form-control-sm 282 | 283 | - example 284 | 285 | ```html 286 |
287 |

Contact

288 |
289 | 290 | 291 |
292 | 293 | 294 |
295 | 296 | 297 |
298 | 299 | 300 |
We'll never share your email with anyone else.
301 |
302 | 303 | 304 |
305 | 306 | 307 |
Must be 8-20 characters long.
308 |
309 | 310 | 311 |
312 | 313 | 314 |
315 | 316 | 317 |
318 | 323 |
324 | 325 | 326 |
327 |
328 | 329 | 332 |
333 |
334 | 335 | 336 | 337 |
338 |
339 | 340 | 343 |
344 |
345 | 346 | 349 |
350 |
351 | 352 | 353 | 354 | 355 |
356 | 357 | 358 |
359 | 360 |
361 | 362 | 363 |
364 |
365 | 366 | 367 | 368 |
369 |
370 | 371 |
372 |
373 | 374 |
375 |
376 | 377 | 378 | 379 | 380 | ``` 381 | 382 | ### [19. Carousel](https://youtu.be/f6nCsa6Zbjg) 383 | 384 | ### [20. Badge, progress and tooltip](https://youtu.be/D-rPnaM0agw) 385 | 386 | - example 387 | 388 | ```html 389 |

390 | Bootstrap5 video New 391 |

392 | 393 | 396 | 397 | 406 | 407 |
408 |
415 | 75% 416 |
417 |
418 | ``` 419 | 420 | ### [21. List group]() 421 | 422 | - example 423 | 424 | ```html 425 | 426 | 437 | 438 | 439 | 453 | ``` 454 | 455 | ### [22. float and svg icons](https://youtu.be/-BP8r0vMOXU) 456 | 457 | - bootstrap svg icons - https://icons.getbootstrap.com/ 458 | - example 459 | 460 | ```html 461 |
462 |
463 |

464 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Debitis, 465 | architecto, totam harum eaque commodi dignissimos alias veniam tenetur 466 | maxime, sapiente nisi facere ipsa saepe inventore. 467 |

468 |
469 |
470 |

471 | 472 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Debitis, 473 | architecto, totam harum eaque commodi dignissimos alias veniam tenetur 474 | maxime, sapiente nisi facere ipsa saepe inventore. 475 |

476 |
477 |
478 | 479 | 497 | ``` 498 | 499 | ### [23. position and display](https://youtu.be/qknEBRJBAM0) 500 | 501 | - example 502 | 503 | ```html 504 | 505 | 506 | 518 | 519 | 520 | 521 |
522 | 525 |
526 | ``` 527 | 528 | ### [24. flex]() 529 | 530 | - example 531 | 532 | ```html 533 | 534 |
538 |
539 |
540 |

card title

541 |

542 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 543 |

544 |
545 |
546 |
547 |
548 |

card title

549 |

550 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 551 |

552 |
553 |
554 |
555 |
556 |

card title

557 |

558 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 559 |

560 |
561 |
562 |
563 | 564 | 565 | 566 |
569 |
570 |
571 |

card title

572 |

573 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 574 |

575 |
576 |
577 |
578 |
579 |

card title

580 |

581 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 582 |

583 |
584 |
585 |
586 |
587 |

card title

588 |

589 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 590 |

591 |
592 |
593 |
594 | 595 | 596 | 597 | 598 |
603 |
604 |
605 |

card title

606 |

607 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 608 |

609 |
610 |
611 |
612 |
613 |

card title

614 |

615 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 616 |

617 |
618 |
619 |
620 |
621 |

card title

622 |

623 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 624 |

625 |
626 |
627 |
628 | 629 | 630 | 631 |
636 |
637 |
638 |

card title

639 |

640 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 641 |

642 |
643 |
644 |
645 |
646 |

card title

647 |

648 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 649 |

650 |
651 |
652 |
653 |
654 |

card title

655 |

656 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 657 |

658 |
659 |
660 |
661 | 662 | 663 |
668 |
669 |
670 |

card title1

671 |

672 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 673 |

674 |
675 |
676 |
677 |
678 |

card title2

679 |

680 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 681 |

682 |
683 |
684 |
685 |
686 |

card title3

687 |

688 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 689 |

690 |
691 |
692 |
693 | 694 | 695 |
700 |
701 |
702 |

card title1

703 |

704 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 705 |

706 |
707 |
708 |
709 |
710 |

card title2

711 |

712 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 713 |

714 |
715 |
716 |
717 |
718 |

card title3

719 |

720 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. 721 |

722 |
723 |
724 |
725 | ``` 726 | 727 | ### [25. Modal]() 728 | 729 | - example 730 | 731 | ```html 732 | 733 | 734 | 742 | 743 | 744 | 766 | ``` 767 | 768 | ### [26. Projects]() 769 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 14 | 15 | 16 | 17 | 18 | 30 | 31 | 32 | 33 |
34 | 37 |
38 | 39 | 44 | 45 | 46 | --------------------------------------------------------------------------------