如何使用 daisyUI 类来设置页面样式?
一旦您安装了 daisyUI,您就可以使用组件类,如btn
、card
等。 <button
class="inline-block cursor-pointer rounded-md bg-gray-800 px-4 py-3 text-center text-sm font-semibold uppercase text-white transition duration-200 ease-in-out hover:bg-gray-900">
Button
</button>
<button class="btn">Button</button>
<button class="btn btn-primary">Button</button>
<button class="btn w-64 rounded-full">Button</button>