How do you center an element horizontally in Tailwind?
Description : To center an element horizontally, you can use `mx-auto` in Tailwind.
Answer :
To center an element horizontally, you can use `mx-auto` which applies automatic horizontal margins. For example:`<div class='mx-auto w-1/2'>`. This will center the div horizontally while setting its width to 50%.