P
P
Pavel Zaitsev2021-09-10 22:41:36
Layout
Pavel Zaitsev, 2021-09-10 22:41:36

Is it possible to remove vertical padding from images?

How to remove vertical padding between images? What should be done? :with

<section class="section section_fifth">
            <div class="row row_7">
                <div class="col-lg-12 gallery">
                        <img class="img_gallery" src="img/Rectangle 7.2.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.3.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.2.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.3.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.3.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.2.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.3.png" alt="">
                        <img class="img_gallery" src="img/Rectangle 7.2.png" alt="">
                </div>
        </div>
    </section>


.img_gallery{
    height: 480px;
    padding: 0;
    margin: 0;
}

.row_7{
    display: flex;
    align-items: center;
}

.gallery{
    padding: 0;
}


613bb45716cb8806188425.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
snake2, 2021-09-10
@snake2

<section class="section section_fifth">
            <div class="row row_7">
                <div class="col-lg-12 gallery">
                        <img class="img_gallery" src="img/Rectangle 7.2.png" alt=""><img class="img_gallery" src="img/Rectangle 7.3.png" alt=""><img class="img_gallery" src="img/Rectangle 7.2.png" alt=""><img class="img_gallery" src="img/Rectangle 7.3.png" alt=""><img class="img_gallery" src="img/Rectangle 7.3.png" alt=""><img class="img_gallery" src="img/Rectangle 7.2.png" alt=""><img class="img_gallery" src="img/Rectangle 7.3.png" alt=""><img class="img_gallery" src="img/Rectangle 7.2.png" alt="">
                </div>
        </div>
    </section>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question