- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
#8 Simplify Spacing in✨ Bootstrap | Margin & Padding Utilities Made Easy!
1. Margin Classes (m)
The m prefix is used to control the *margin* of an element. You can set margins for all sides or target specific sides like top, bottom, left, or right.
*Class Name* | *Description*
|-------------------------|------------------------------------------|
| m-0 | Removes margin from all sides
| m-1, m-2, ... m-5| Adds margin of increasing size to all sides
| mt-3, mb-3 | Margin on top (t) or bottom (b)
| ms-2, me-2 | Margin on start (s) or end (e) for RTL support
| mx-4, my-4 | Horizontal (x) or vertical (y) margins
2. **Padding Classes (p)**
The p prefix is used to control the *padding* inside an element. Similar to margins, it can apply to all sides or specific sides.
|Class Name* | *Description*
|-------------------------|------------------------------------------|
| p-0 | Removes padding from all sides
| p-1, p-2, ... p-5| Adds padding of increasing size to all sides
| pt-3, pb-3 | Padding on top (t) or bottom (b)
| ps-2, pe-2 | Padding on start (s) or end (e) for RTL support
| px-4, py-4 | Horizontal (x) or vertical (y) padding
#Bootstrap5 #WebDevelopment #SpacingUtilities #MarginAndPadding #CSSTips #ResponsiveDesign #FrontendDevelopment #WebDesign #CodingTutorial #BootstrapTips #margintop #verticalspacing #horizontalspacing #paddingtop #spacing
Видео #8 Simplify Spacing in✨ Bootstrap | Margin & Padding Utilities Made Easy! канала Happiee Codes
The m prefix is used to control the *margin* of an element. You can set margins for all sides or target specific sides like top, bottom, left, or right.
*Class Name* | *Description*
|-------------------------|------------------------------------------|
| m-0 | Removes margin from all sides
| m-1, m-2, ... m-5| Adds margin of increasing size to all sides
| mt-3, mb-3 | Margin on top (t) or bottom (b)
| ms-2, me-2 | Margin on start (s) or end (e) for RTL support
| mx-4, my-4 | Horizontal (x) or vertical (y) margins
2. **Padding Classes (p)**
The p prefix is used to control the *padding* inside an element. Similar to margins, it can apply to all sides or specific sides.
|Class Name* | *Description*
|-------------------------|------------------------------------------|
| p-0 | Removes padding from all sides
| p-1, p-2, ... p-5| Adds padding of increasing size to all sides
| pt-3, pb-3 | Padding on top (t) or bottom (b)
| ps-2, pe-2 | Padding on start (s) or end (e) for RTL support
| px-4, py-4 | Horizontal (x) or vertical (y) padding
#Bootstrap5 #WebDevelopment #SpacingUtilities #MarginAndPadding #CSSTips #ResponsiveDesign #FrontendDevelopment #WebDesign #CodingTutorial #BootstrapTips #margintop #verticalspacing #horizontalspacing #paddingtop #spacing
Видео #8 Simplify Spacing in✨ Bootstrap | Margin & Padding Utilities Made Easy! канала Happiee Codes
Комментарии отсутствуют
Информация о видео
11 декабря 2024 г. 14:00:47
00:08:18
Другие видео канала




















