Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use twitter-bootstrap spans from right to left?

If I want to place an element on the right of the screen for example the final 3 spans and want white space to the left of them (not use the spans) is this possible to achieve on twitter-bootstrap and if so how? Thank you.

like image 373
Tom Avatar asked Dec 05 '22 16:12

Tom


2 Answers

You could do something like this:

<div class="row">
    <div class="span9"></div>
    <div class="span3"></div>
</div>

And you can also do something like this:

<div class="row">
    <div class="span3 offset9"></div>
</div>
like image 93
Jonathan Wood Avatar answered Dec 08 '22 02:12

Jonathan Wood


You can use pull-right and pull-left:

<div class="row">
  <div class="span3 pull-right"></div>
  <div class="span6 pull-left"></div>  
</div>
like image 27
Ching-Han Ho Avatar answered Dec 08 '22 02:12

Ching-Han Ho