Закрыть
×
=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
Праздники ...
Праздники ...
День города Минска (2-ая суббота сентября) (9 и 10 сентября 2023)
Концерты, выставки ...
Концерты, выставки ...
бесплатная консультация АРХИТЕКТОРА второй четверг каждого месяца|||г. Минск с 11 июня 2026 по 1 января 2028
Афишу
Спорт занятия ...
Спорт занятия ...
Настольный теннис
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Ремонт ноутбуков
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
Bootstrap - buttons, menus, dialog, slider ... Containers for placing elements
Vertical indentation, horizontal indentation | Bootstrap 4.0
посмотрели
7098
раз
обновлено: 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
Объявления
Объявления
•
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