this post was submitted on 13 Apr 2024
72 points (97.4% liked)

Dev

283 readers
2 users here now

Um lugar legal para debater e conversar sobre programação e desenvolvimento de software no Brasilsilsilsil

Seja um bom programador, e leia a documentação oficial da comunidade no post fixado.

Obrigado, e divirta-se!


Geral

Regras

Wiki do c/Linux

Megathread do c/Dev

Relacionado

c/Python

Chat

founded 1 year ago
MODERATORS
 
top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] [email protected] 1 points 6 months ago

Saving this for later