There’s a simpler method to create amazing layouts with invisible grids.
Gridless is a CSS framework that comes with no source code. Instead it’s based on a set of very strong principles. The basic Gridless rules:
- Every element size is divisible by 10 pixels.
- Use only pixels as unit.
- Every parent element is a block (forms, images, etc.)
- Inline elements must all be text based (strong, em, span).
- Never use 1 pixel borders.
- Use 2 pixels borders or background-color
- Reset to zero (padding, margin, width, height, etc.)
- Use a base line-height of 20px then increase it each step by 10px.
- Design at 1x then multiply by 2x, 3x or 4x.
The problem with current grid systems is that they are too restrictive. You can see the columns from the grid when they work or you can see mismatches when they don’t.
The problem with all CSS frameworks is that they are too complex and too complicated to learn or understand at a deeper level.
Gridless solves both of these problems. It‘s a foundation you can build anything on.