Yeah that works if you wanna center a box of content it relative to the parent container, either horizontally or vertically. For other situations we’ve got different tools
ɪᴍᴘᴇᴅᴀɴꜱ
dev👨💻, musician 🥁
- 1 Post
- 3 Comments
Joined 2 years ago
Cake day: June 28th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
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.
Yeah I’ve got to say, as a developer that Chrome and chromium forks are way more consistent and performant - and easier to develop for.