• Captain Janeway@lemmy.world
    link
    fedilink
    Português
    arrow-up
    9
    ·
    edit-2
    7 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.