Mises en page CSS utiles en une ligne
(1linelayouts.glitch.me)<p>- Super Centered { place-items: center }<br />
- The Deconstructed Pancake { flex: 0 1 <baseWidth> }<br />
- Sidebar Says { grid-template-columns: minmax(<min>, <max>) ... }<br />
- Pancake Stack { grid-template-rows: auto 1fr auto }<br />
- Classic Holy Grail Layout { grid-template: auto 1fr auto / auto 1fr auto }<br />
- Grille sur 12 colonnes { grid-template-columns: repeat(12, 1fr) }<br />
- RAM (Repeat, Auto, Minmax) { grid-template-columns: repeat(auto-fit, minmax(<base>, 1fr)) }<br />
- Line Up { justify-content: space-between }<br />
- Clamping My Style { clamp(<min>, <actual>, <max>) }<br />
- Respect for Aspect { aspect-ratio: <width> / <height> }</p>
1 commentaires