如何将按钮置于 div 中的 tailwind 中心?
\n我努力了:
\n在所有情况下,按钮都卡在左侧。\n\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\nh2 和p中心没问题。
\n<div class="container py-10 px-10 mx-0 min-w-full" className="contactdiv">\n <h2 class="text-5xl text-white text-center">Contact Us</h2>\n\n <br />\n <p class="text-center text-white">Kickstart your career in BioPharma with the Mendeleev Institute right now</p>\n <button class="bg-purple-900 text-white hover:bg-blue-400 font-bold py-2 px-4 mt-3 rounded items-center">Learn More</button>\n</div>\nRun Code Online (Sandbox Code Playgroud)\n tailwind-css ×1