Site Admin
No one logged in. Log in

Grid Tutorial

NOTES

  • Each row is made up of 24 columns
  • Last <div> at the end of the row must have class "last" unless the <div> spans 24 columns
  • If you want to add padding/margin you must create an inner <div> and then apply padding/margin to the inner <div>

div class="span-8"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-8"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-8 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 append-1"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 append-2"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 append-3 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 prepend-1"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 prepend-2"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

div class="span-6 prepend-3 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit.


div class="span-12 border"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

div class="span-12 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


1

2

3

4

5

3

1

2

3

4

5

3

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

1

2

3

4

5

6

24

2

23


div class="span-24"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

div class="span-6"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.

div class="span-6 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

div class="span-12 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

div class="span-12 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.

div class="span-6 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

div class="span-12 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

div class="span-14 prepend-5 append-5 last"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.