This example shows how to use cssed, a CSS-in-JS library, with Next.js.
We are creating div
element with local scoped styles. The styles includes the use of pseudo-selector.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-cssed with-cssed-app
# or
yarn create next-app --example with-cssed with-cssed-app
Deploy it to the cloud with Vercel (Documentation).