• Captain Janeway@lemmy.world
    link
    fedilink
    Português
    arrow-up
    10
    ·
    edit-2
    8 months ago

    It’s always either:

    • Flexbox / CSS grid with aligned center
    • Margin: 0 auto;
    • Transform: translateX(-50%) & left: 50%
    • Fixed positioning

    I guess this is why I have a wife.