Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    grid-template-areas is almost criminally easy to use.

    Pianificato Fissato Bloccato Spostato Uncategorized
    1 Post 1 Autori 4 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • amin@polymaths.socialA Questo utente è esterno a questo forum
      amin@polymaths.social
      ultima modifica di

      grid-template-areas is almost criminally easy to use. I love this. Using it i my website redesign now.

      Link Preview Image
      grid-template-areas - CSS | MDN

      The grid-template-areas CSS property specifies named grid areas, establishing the cells in the grid and assigning them names.

      favicon

      MDN Web Docs (developer.mozilla.org)

      Essentially you give each element in the layout a name, then just write out where each of those elements goes in the grid, all in pure CSS. Want a different layout on smaller screens? Just rewrite the grid-template-areas property in the media query and everything re-arranges itself.

      1 Risposta Ultima Risposta Rispondi Cita 1 0
      • steffo@a.junimo.partyS steffo@a.junimo.party shared this topic on
      • Primo post
        Ultimo post