Bootstrap Alert Box Classes - Bootstrap5 Tutorial 17
Notes for You:: Bootstrap Alert Box Classes.
Alert boxes are used to display important messages to the user.
Ex: Warning messages, Error messages, Information messages, etc.
alert:
- adds some padding around the content,
- adds some bottom margin
- adds rounded corners etc.
﹤div class="alert alert-primary"﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-heading:
- indicates the heading of the alert box, inherits the parent element color
﹤div class="alert alert-primary"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
Alert box Color Related Classes:
alert-primary:
- sets text color to dark blue color and background color to light blue color
﹤div class="alert alert-primary"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-secondary:
- sets text color to dark gray color and background color to light gray color
﹤div class="alert alert-secondary"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-success:
- sets text color to dark green color and background color to light green color
﹤div class="alert alert-success"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-info:
- sets text color to dark pale blue color and background color to light pale blue color
﹤div class="alert alert-info"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-warning:
- sets text color to dark yellow color and background color to light yellow color
﹤div class="alert alert-warning"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-danger:
- sets text color to dark red color and background color to light red color
﹤div class="alert alert-danger"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-dark:
- sets text color to dark gray color and background color to mid gray color
﹤div class="alert alert-dark"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-light:
- sets text color to mid gray color and background color to light gray color
﹤div class="alert alert-light"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤/div﹥
alert-link
- displays text darker in color
﹤div class="alert alert-primary"﹥
﹤h2 class="alert-heading"﹥HTML﹤/h2﹥
﹤p﹥HTML is a structural language﹤/p﹥
﹤a href="#" class="alert-link"﹥Read more﹤/a﹥
﹤/div﹥
Creating Dismissible Alert Box:
﹤div class="alert alert-primary alert-dismissible"﹥
﹤p﹥HTML is a structural language.
﹤button class="btn-close" data-bs-dismiss="alert"﹥﹤/button﹥
﹤/p﹥
﹤/div﹥
﹤div class="alert alert-primary alert-dismissible show fade"﹥
﹤p﹥HTML is a structural language.
﹤button class="btn-close" data-bs-dismiss="alert"﹥﹤/button﹥
﹤/p﹥
﹤/div﹥
Note:
- replace ﹤ with less-than symbol.
- replace ﹥ with greater-than symbol.
=========================================
Follow the link for next video:
https://youtu.be/7RjEzO0P8kc
Follow the link for previous video:
https://youtu.be/oC8JgwEHPQc
=========================================
Bootstrap5 Tutorials Playlist:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_tgGKttdOp9YWporo2zEr5Q
Bootstrap4 Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_vnCOUPx1fhQLRZGENyfuMG
=========================================
Watch my other useful tutorials:-
Dreamweaver Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_sGP0m9D68jHqZQr_qRzDXk
PHP Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_s8zash4d8He_49QS_VVmAG
MySQL Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_tvPGAlbOEc-0_qleTOBgmU
=========================================
Subscribe to our YouTube channel:-
https://www.youtube.com/chidrestechtutorials
Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtutorials/join
Become our Patron:-
https://www.patreon.com/chidrestechtutorials
Visit our Website:-
https://www.chidrestechtutorials.com
Download our notes from Instamojo:-
https://chidrestechtutorials.myinstamojo.com
Buy our products on Spring:-
https://chidres-tech-tutorials.creator-spring.com
=========================================
Hash Tags:-
#ChidresTechTutorials #Bootstrap #BootstrapTutorial #Bootstrap5
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Bootstrap Alert Box Classes - Bootstrap5 Tutorial 17», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.