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

Dev

289 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 2 years ago
MODERATORS
73
yes (lemmy.eco.br)
submitted 8 months ago by br4b0 to c/dev
 
top 2 comments
sorted by: hot top controversial new old
[–] captainjaneway@lemmy.world 10 points 8 months ago* (last edited 8 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.

[–] doidera 2 points 8 months ago

Saving this for later