Layout recipes
Patterns that solve the most frequent everyday problems. Pick a recipe, copy it and adapt it to your project.
- center: centers any element on both axes with two lines of code.
- holy grail: header, navigation, content, sidebar and footer in a single grid.
- sidebar: fixed-width sidebar and content that takes the rest.
- sticky footer: the footer stays at the bottom even with little content.
- card grid: responsive cards without media queries.
Example
Select a recipe. HTML and CSS update together, and you can keep editing them to adapt it.
ResultLive
html
css