Bootstrap Столбцы не работают - ошибка в коде - PullRequest
0 голосов
/ 18 июня 2020

Я не могу понять, что мне здесь не хватает. (Голова включена для bootstrap справки.)

<head>:
<!-- Bootstrap Complete CSS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"></script>
  <!-- Bootstrap Complete JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
  <!-- Bootstrap Complete JavaScript Bundle -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js"></script>

Проблема c код:

<!-- TopGrid -->
<section id="TopGrid">
  <div class="row">
      <div class="TopGrid-Box col-lg-4">
        <img class="Mask" src="Images\Mask Icon.png" alt="Lineart Face Mask">
        <h2>Masks</h2>
        <p>Our associates will be wearing masks, and you will be asked to do the same while shopping in our stores. </p>
      </div>

      <div class="TopGrid-Box col-lg-4">
        <img class="Hands" src="Images\Hand Cleaning Icon.png" alt="Lineart Hand Sanitizer">
        <h2> Hands</h2>
        <p>Hand sanitizer will be provided as you enter so we can maintain safer shoe displays. Our asociates will also be regularly using sanitizer as well as washing their hands
          throughout the day.</p>
      </div>

      <div class="TopGrid-Box col-lg-4">
        <img class="Surface" src="Images\Surface Cleaning Icon.png" alt="Lineart Cleaning Spray">
        <h2> Surfaces</h2>
        <p>Our associates will be disinfecting all high-touch surfaces throughout the day, as well as before and after customers.</p>
      </div>
    </div>
  </section>

Я вообще не получаю столбцы. Удаление изображений не влияет на него, добавление контейнера не влияет на него, настройка размера экрана не влияет на него. Я уверен, что мне не хватает чего-то простого, но я не знаю, что это такое.

(В настоящее время для этого кода не написано CSS, кроме встроенного bootstrap.)

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...