Пространство между элементами в бутстрапе ⇐ CSS

Разбираемся в CSS
Гость
Пространство между элементами в бутстрапе

Сообщение Гость »


I am using

Код: Выделить всё

bootstrap 4
and i have a list of items that i display like this :
In my desktop view with Google Chrome i can see 3 items by row but the problem is there is no space between columns. so i add a class

Код: Выделить всё

.item-wr {     margin: 10px;  } 
But here also the line breaks and i see just 2 items, with some space on the right of the row.

So how can i keep my 3 items per row

Код: Выделить всё

col-md-4
with space between them ?

P.S i want no space in the beginning or the ending of each row. the first col of each row must not have some

Код: Выделить всё

margin-left
and the last col of each row must not have some

Код: Выделить всё

margin-right


Источник: https://stackoverflow.com/questions/465 ... -bootstrap

Вернуться в «CSS»