skip to Main Content

Reactjs – I'm trying to add a class here in Tailwind CSS:

enter image description here export default function Home() { return ( <> <h1 className="text-2xl text-green-500">Netflix Clone</h1> </> ); This is my tailwind.config.js /** @type {import('tailwindcss').Config} */ module.exports = { content: ["./app/**/*.{js,ts,jsx,tsx}"], content: ["./pages/**/*.{js,ts,jsx,tsx}"], content: ["./components/**/*.{js,ts,jsx,tsx}"], theme: { extend: {}, },…

VIEW QUESTION
Back To Top
Search