Move a div to left or right with the Bootstrap library

Asked

Viewed 278 times

0

With the materialize I know it is only assign a name class "left" or "right" to div, but by bootstrap I do not know how this can be done

  • Hello Richard Lopes, I ask you to explain your question better. If possible exemplify with what you are trying to do.

2 answers

3

Bootstrap’s not so different, Richard.
Just use the pull-right and pull-left classes as in the following example:

<div class="container">
    <div class="row">
        <div class="pull-right">
            <img src="images/imagemUm.jpg" alt="">
        </div>
        <div class="pull-left">
            <img src="images/imagemDois.jpg" alt="">
        </div>
    </div>
</div>

I hope I helped, hug!

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.