DESIGN WEB -

 

MODEL-MAKING OF ELEMENTS IN WEBS RESPONSIVE BY MEANS OF BOOTSTRAP

Example of floating elements

In order to float elements of a form responsive is used a called system bootstrap, allows a maximum of 12 columns in all the width of the page. He is sensible, and the columns will be rearranged based on the size of the screen, in a great screen can turns the content organized in columns, but in a small screen the elements of content one upon the other are piled up, until occupying the width available.

The labels that we will use will be:
In order to define each row horizontal we will create container container div with style row-you flow, and in his interior we will insert each block/column, that it will define by means of div with style span (number), where the number is the amount of columas in the horizontal space that will occupy the module, being a value between 1 and 12. Ex: span12 corresponds to the 100% of the width, span6 corresponds to 50% of the width, span3 corresponds to 25% of the width.
Therefore in a same row prodremos to put diverse columns with the label they span (I number), whenever the sum of the numbers of all the span of the row is equal or inferior to 12.

Example of how it would be the source code of a row:

<div class=row-you flow
<div class=span4</div>
<div class=span8</div>
</div>

SPAN4

SPAN8

 

More examples:

Sample of contents the property span to float elements and to delimit their size defining the number of columns that each element will occupy/container.

It labels SPAN12

SPAN6

SPAN6

SPAN4

SPAN4

SPAN4

SPAN3

SPAN3

SPAN3

SPAN3

SPAN2

SPAN2

SPAN2

SPAN2

SPAN2

SPAN2

SPAN1

SPAN5

SPAN4

SPAN2

SPAN5

SPAN7