Home > Blockchain >  Tailwind Border
Tailwind Border

Time:12-25

enter image description hereenter image description hereI'm trying to designed this card in tailwind but I've got a problem to design highlight on the border how can I design highlights in tailwind or css

there is nothing to look up for this kind of situation.

CodePudding user response:

you can create this effect with :after or :before and use this style in tailwind for generating the gradient

@apply bg-[radial-gradient(closest-side,white,transparent)]

Live example

  • Related