Tailwind component I copy and pasted is buggin

The code I copy and pasted is attached. The component is supposed to look like the first, but looks like the second instead:
4 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
'tonyyprints'
'tonyyprints'16mo ago
const colors = require('tailwindcss/colors');

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
rose: colors.rose,
},
backgroundImage: {
'hero': "url('/public/hero.svg')",
}
},
},
plugins: [
require("@tailwindcss/forms"),
],
};
const colors = require('tailwindcss/colors');

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
rose: colors.rose,
},
backgroundImage: {
'hero': "url('/public/hero.svg')",
}
},
},
plugins: [
require("@tailwindcss/forms"),
],
};
I sorta fixed it, I changed a z-index thing to negative and it sorta works
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
'tonyyprints'
'tonyyprints'16mo ago
ahhh yea that fixed a few things thank you
Want results from more Discord servers?
Add your server
More Posts