daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

Added examples of using gradient backgrounds on buttons

Open Avaray opened this issue 1 year ago • 2 comments

I’m not sure if <style> will be processed correctly in the documentation page. If you think this button example is unnecessary, feel free to reject the PR.

The buttons will look like this: https://play.tailwindcss.com/C7EgefbQww

Avaray avatar Feb 05 '25 07:02 Avaray

I wish there was a way to define keyframes using utility classes… so people could just copy the HTML, without needing to add style to CSS file.

saadeghi avatar Feb 05 '25 18:02 saadeghi

Yep, there’s currently no way to do that with Tailwind CSS.

Avaray avatar Feb 05 '25 18:02 Avaray