Quantcast
Channel: Devdevote »» XHTML
Viewing all articles
Browse latest Browse all 2

PixelGrid X

$
0
0

Why use a grid system?

  • It keeps your code more structured and organized.
  • It’s easier to overview.
  • It makes you build new websites faster.
  • It makes you update your websites faster.

Live demo preview

pixelgrid-x-preview

Classes overview

The x-class is the grid column. The box-class is the one you add your styles to. To make a nice code structure you can add head-, body- and foot-classes.

This is an example of a complete PixelGrid X skeleton:

PixelGrid X box model

Classes explained

x-class

Info

  • The x-class is the grid column.
  • Besides the x it has a number (like 480) which displays how many pixels wide the class is.

What to do

  • Add styles to the x-class if you like, but only if it’s relevant to the whole grid column.
  • When adding other x-classes, add them directly within an x-class, never inside a box-class. If you do, the grid will not function properly.

Warnings

  • Never add padding or margins to the x-class. If you do, the grid will not function properly. Add it to the box-class instead.

box-class

Info

  • The box is the container of all HTML code inside the box.
  • When adding HTML, the box class is required to not affect the size of the containing x-class.

What to do

  • Write all HTML code inside the box.
  • You can add more than one box into a grid column.
  • Add extra classes or IDs if you like.

Warnings

  • Never add x-classes inside a box-class. Add them inside another x-class instead.

Optional classes

head-class

  • The head class could be used as a title of the box.
  • This class is optional.

body-class

  • The body class is used for the box body content.
  • This class is optional.

foot-class

  • The foot class could be used as a footer of the box.
  • This class is optional.

Versions / Download

PixelGrid X – 960 pixels wide

  • It’s dividable by 2, 3, 4, 8, 12, 16, 24, 32, 48, 64, 96
  • Download

PixelGrid X – 1152 pixels wide

  • It’s dividable by 2, 3, 4, 8, 12, 16, 24, 32, 48, 64, 96, 128, 144, 192
  • Download

PixelGrid X – Dynamic

  • Dynamic width
  • Available soon

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images