Install it:
npm install --save-dev tailwind-part
Apply to your Tailwind (4) CSS config:
@import "tailwindcss";
@plugin "tailwind-part";
Style components:
<nostr-picture pubkey="npub1..." class="part-[img]:rounded"></nostr-picture>
Install it:
npm install --save-dev tailwind-part
Apply to your Tailwind (4) CSS config:
@import "tailwindcss";
@plugin "tailwind-part";
Style components:
<nostr-picture pubkey="npub1..." class="part-[img]:rounded"></nostr-picture>
tailwind-part
adds the part-[...] tailwind prefix, very useful for styling web components
cb95979e8041983728c76f0276c51d45f1a3a4f6