cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoProgrammers then and nowlemmy.mlimagemessage-square22linkfedilinkarrow-up111arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up111arrow-down1imageProgrammers then and nowlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square22linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareɪᴍᴘᴇᴅᴀɴꜱ@lemmy.worldlinkfedilinkarrow-up0·edit-22 months agoIf you define what you mean by centering I’ll give you a straight answer. Vertically? Horizontally? Center the text or the entire box? Compared to the viewport, the parent container or the entire page? “Centering” isn’t as straight forward as you’d think, and what you actually want usually depends on the situation.
If you define what you mean by centering I’ll give you a straight answer.
Vertically? Horizontally? Center the text or the entire box? Compared to the viewport, the parent container or the entire page?
“Centering” isn’t as straight forward as you’d think, and what you actually want usually depends on the situation.
Nah, just flex them boxes