This story was originally published on HackerNoon at: https://hackernoon.com/how-to-centre-an-element-in-css-with-tailwind.
In this guide, we'll be covering how you can vertically and horizontally center an element or text with tailwind.
Check more stories related to programming at: https://hackernoon.com/c/programming.
You can also check exclusive content about #web-development, #tailwindcss, #web-design, #tailwind, #javascript, #css, #coding, #coding-skills, and more.
This story was written by: @smpnjn. Learn more about this writer by checking @smpnjn's about page,
and for more stories, please visit hackernoon.com.
Tailwind is a popular CSS framework. In this guide, we'll look at how to center both HTML elements and text with Tailwind.