V
V
Vlad2020-11-14 14:26:52
css
Vlad, 2020-11-14 14:26:52

Google svg icons not showing up. What is the problem?

<section class="extras">
          <div class="extras__col">
            <a class="extras__best" href="#">Лучшие принты <br> 2020 года</a>
          </div>
          <div class="extras__col">
            <div class="extras__col-socials">
              <ul class="socials">
                <li class="socials__item">
                  <a href="#" class="socials__link">
                    <svg class="socials__icon">
                      <use xlink:href="./img/icons-sprite.svg#fb"></use>
                    </svg>
                  </a>
                </li>

                <li class="socials__item">
                  <a href="#" class="socials__link">
                    <svg class="socials__icon">
                      <use xlink:href="./img/icons-sprite.svg#twitter"></use>
                    </svg>
                  </a>
                </li>

                <li class="socials__item">
                  <a href="#" class="socials__link">
                    <svg class="socials__icon">
                      <use xlink:href="./img/icons-sprite.svg#insta"></use>
                    </svg>
                  </a>
                </li>

                <li class="socials__item">
                  <a href="#" class="socials__link">
                    <svg class="socials__icon">
                      <use xlink:href="./img/icons-sprite.svg#pin"></use>
                    </svg>
                  </a>
                      </li>

              </ul>
            </div>
          </div>
        </section>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad, 2021-01-06
@vlad2147

Icons are displayed when a local server is connected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question