L
L
Ludmila2020-01-16 17:00:33
css
Ludmila, 2020-01-16 17:00:33

How to align a div in a container to the bottom?

Good afternoon! Can you please tell me how to align a div to the bottom of its (not even the parent, but the grandfather)?
There is a structure like this:

<header>
        <div class="container-fluid av_clear">
            <div class="rg_img_header">
                <div class="container">
                    <div class="row">
                        <div class="col-12 col-sm-5">(тут логотип)</div>
                        <div class="col-7">
                            <div class="col-12 rg_phone">(тут телефон)</div>
                            <div class="col-12 rg_navi_header">
                                <nav class="main_menu_cont">(тут меню)</nav>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="container">
                    <div class="row">
                        <div class="col-12">
                            <div class="rg_slogan">(тут слоган большими буквами)</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>

Where - rg_img_header - a picture of a certain height - 700 px
And you need to align the slogan (probably the container with the slogan) to the bottom of this picture... How to do it? Tell me plz...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Muromtsev, 2020-01-16
@sfrancisco

I would toss an online editor into what thread to contemplate your question explicitly

P
Pavel Zuev, 2020-01-16
@idpabloo

I think it will help you to hang the class: align-items-end

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question