marckohlbrugge.eth on Twitter: "One fun Tailwind CSS trick I came up with is creating my own role-based variants.For example to show certain elements only to admins, I make my body look like: and add the classes "hidden admin:block" to any elements that should only be visible to admins pic.twitter.com/Qs23ypMGAV / Twitter"
One fun Tailwind CSS trick I came up with is creating my own role-based variants.For example to show certain elements only to admins, I make my body look like: and add the classes "hidden admin:block" to any elements that should only be visible to admins pic.twitter.com/Qs23ypMGAV
https://twitter.com/marckohlbrugge/status/1544113650134384640?t=Ki0TFdjTpiitOVTl-e-dGA&s=19