S
S
sunnyrio2019-02-18 21:51:39
css
sunnyrio, 2019-02-18 21:51:39

How to control the padding between the elements of the feedback form (bootstrap)?

When the browser size is reduced, padding between feedback elements spontaneously appears, how to remove it?

Bootstrap feedback form.

I reduce the browser, it turns out as in the first picture, but then I start to reduce the width of the browser even less and indents appear as in the second picture.

5c6afeb9c0a01535449657.png

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
Dmitry, 2016-08-29
@dhat

The thing is that inline-block elements have a small indent, there are several ways to deal with this:
1.

<ul>
  <li>
   one</li><li>
   two</li><li>
   three</li>
</ul>

2.
<ul>
  <li>one</li
  ><li>two</li
  ><li>three</li>
</ul>

3.
<ul>
  <li>one</li><!--
  --><li>two</li><!--
  --><li>three</li>
</ul>
4. Отрицательное margine

5.
<ul>
  <li>one
  <li>two
  <li>three
</ul>

6.
nav {
  font-size: 0;
}
nav a {
  font-size: 16px;
}

7. flexbox

O
Oleg, 2016-08-29
@politon

Zadro4il apparently his browser, while he wrote three lines of code)))
Clean the cache. Everything is working ;)

H
holymotion, 2016-08-29
@holymotion

ctrl + R

D
dhat, 2016-08-29
@dhat

Guys, I reformulated the question, I'm sorry that I could not immediately formulate it correctly, my cant.

S
sunnyrio, 2019-02-18
@sunnyrio

.form-group: 1rem; is responsible for this retreat

A
arman1231, 2019-02-18
@arman1231

First - it is important to understand how exactly you reduce the browser
Second - no one here will help you without code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question