Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
Рождество (Католическое) 25 Декабря
Концерты, выставки ...
Концерты, выставки ...
Спектакль "Плачу за любовь"|||г. Минск 10 сентября, 18 сентября, 4 октября, 28 октября, 6 ноября, 26 ноября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Занятия в тренажерном зале
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Запасные части к горелкам - Dungs
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
<<
Поиск >>
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
Bootstrap - buttons, menus, dialog, slider ... Containers for placing elements
Vertical indentation, horizontal indentation | Bootstrap 4.0
посмотрели
7630
раз
обновлено: 17 January 2019
{property}
{sides}
}-
{size}
Size
extra small
(xs)
Applies to phones.
{property}
{sides}
-
sm
-
{size}
Size
small
(sm)
Applies to phones.
for width 576px and more
{property}
{sides}
-
md
-
{size}
size
medium
(md)
It is used for tablets.
for width 768px and more
{property}
{sides}
-
lg
-
{size}
size
large
(lg)
Applies to computer monitors
for width 992px and more
{property}
{sides}
-
xl
-
{size}
size
extra large
(xl)
Applies to computer monitors
for width 1200px and more
Instead of
{property}
you must specify the first letter of the indentation name
m
- margin (inner indentation)
p
- padding (External indentation)
Instead of
{sides}
you must specify the side
t
- indent only
above
b
– indent only
from below
l
– indent only
left
r
– indent only
right
x
– indentation
left
and
right
y
– indentation
above
and
from below
- that is, an empty indent will be set for all parties of the element
left
right
above
from below
Instead of
{size}
you need to set the amount of indentation
0
(This is 0);
1
(This is $spacer * .25);
2
(This is $spacer * .5);
3
(This is $spacer);
4
(This is $spacer * 1.5);
5
(This is $spacer * 3);
auto
can only be used for
margin
.
Examples
class="
p-3
" This is
padding
indentation for all parties
class="
ml-lg-3
" This is
margin
indent for the left side
Read more:
getbootstrap.com
itchief.ru/bootstrap/spacing-v4
← Previous topic
class="mr-auto" move to the right edge , class="ml-auto" move to the left edge | Bootstrap 4.0
Next topic →
WEB Sites to explore Bootstrap 4.0
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Новость
"Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
•
What the Bootstrap?
•
Bootstrap where to download and how to connect?
•
Containers in the Bootstrap ("container-fluid" and "container")
Bootstrap Version 4.0
•
Bootstrap 4 difference from Bootstrap 3
Elements
•
"Navbar" in the Bootstrap 4.0 - this is the main horizontal menu for the site (navigation headers)
Styles
•
class="form-inline" items on a single line | Bootstrap 4.0
•
class="navbar-expand-lg" disappears if the area size is smaller lg | Bootstrap 4.0
•
class="mr-auto" move to the right edge , class="ml-auto" move to the left edge | Bootstrap 4.0
•
Vertical indentation, horizontal indentation | Bootstrap 4.0
to study
•
WEB Sites to explore Bootstrap 4.0
Bootstrap items for the version 3 and 4
•
Create a grid "col-md-number" in the Bootstrap 3 and Bootstrap 4
WWW sites for learning Bootstrap
•
Sites to explore Bootstrap
Ваши вопросы присылайте по почте:
info@dir.by