Move a div to left or right with the Bootstrap library

0

With the materialize I know it's just assigning a class of name "left" or "right" to the div, but by bootstrap I do not know how this can be done

    
asked by anonymous 17.02.2017 / 00:38

2 answers

3

With Bootstrap it's not much 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 to have helped, hug!

    
30.06.2017 / 15:00
0

You can use the pull-left and pull-right classes of the bootstrap, or use float: left and float:right in the same CSS.

More infos here: link

    
17.02.2017 / 00:42