C
C
cabernet2020-11-03 11:58:47
HTML
cabernet, 2020-11-03 11:58:47

Problem with col, help?

It is necessary that when opening through a computer, all 4 columns are in a row, through a tablet - 2 columns, through a phone - 1 column.
Everything works, except for the phone version, what's the problem?

<div class="container">
  <div class="row">
    <div class="col-12 col-md-6 col-lg-2">
      Привет
    </div>

      <div class="col-12 col-md-6 col-lg-2">
        Здравствуйте
      </div>

        <div class="col-12 col-md-6 col-lg-2">
          Добрый день
        </div>

          <div class="col-12 col-md-6 col-lg-2">
            Добрый вечер
          </div>
</div>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Glebov, 2020-11-03
@cabernet

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

https://getbootstrap.com/docs/4.5/getting-started/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question