I would like to wrap the generated Tailwind utility classes with a class to prevent them from bleeding into consumer stylesheets, like this:
.root {
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind variants;
.exampleClass { }
}
<div className="root">{children}</div>
However, this does not work.
Could you please give me some advice to solve the issue? Thanks in advance.