I hate CSS.

I’ve just spent about 2 hours trying to… yeah, you guessed. I couldn’t center <p> in a div, vertically and horizontally.

But finally, I managed to do it. Here’s a link to Codepen demonstrating my solution.

Enjoy!