This content originally appeared on Modern CSS Solutions for Old CSS Problems and was authored by Stephanie Eckles
This is the eleventh post in a series examining modern CSS solutions to problems I've been solving over the last 13+ years of being a frontend developer.
How could I write a series called "Modern CSS Solutions to old CSS problems" without covering the classic question:
"How do I center a div?"
Well, this new resource has you covered! We'll look at 3 categories:
- Vertically and Horizontally (XY)
- Vertical (Y)
- Horizontal (X)
Each category shows solutions that explore using grid, flexbox, and block element layout.
Check out the full guide or jump to one of the following sections:
This content originally appeared on Modern CSS Solutions for Old CSS Problems and was authored by Stephanie Eckles

Stephanie Eckles | Sciencx (2020-05-17T21:51:24+00:00) Resource: The Complete Guide to Centering in CSS. Retrieved from https://www.scien.cx/2020/05/17/resource-the-complete-guide-to-centering-in-css/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.