R
R
Roman Tuzov2019-12-06 19:39:12
HTML
Roman Tuzov, 2019-12-06 19:39:12

Why two lines do not want to line up in different directions and how to do it?

<header>
    <div class="container">
        <div class="row">
            <div class="col-lg-2 left">
                <h3>Roma Tuzov</h3>
            </div>
            <div class="col-lg-10 right">
                gdfsfs
            </div>
        </div>
    </div>
</header>

Above is the code, according to the idea, it should align the left side to the left side, and the right side, respectively, to the right side. What's wrong, why do they just stand next to each other?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Golyagin, 2019-12-12
@webrevenue

Your question is strange. They are without the classes left and right, col-lg-2 will become on the left anyway, and col-lg-10 on the right

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question