npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p //tailwind.config.js content: [ "./src/**/*.{js,jsx,ts,tsx}", ], //index.css @tailwind base; @tailwind components; @tailwind utilities; //import css file in index.js
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter