Closed
Description
I'm using a checkbox on a coloured background, and so I want the checkbox box to be white, and the tick inside to be the same colour as the background. Here's one made from an SVG I stole from here before Tailwind 2:
I'm trying to replicate this using just classes with Tailwind 2, but have been unable to so far:
<input type="checkbox" class="ml-1 h-4 w-4 rounded border-gray-400 focus:border-raisin focus:ring-2 focus:ring-black text-white">
(I have a custom colour called 'raisin' which is #27262c
)
Metadata
Metadata
Assignees
Labels
No labels