Utility classes not working after adding custom classes. #11131
Unanswered
Harsh4dager
asked this question in
Help
Replies: 1 comment
-
|
It is because you have declared the configuration in content: [""],
theme: {
-extend: {},
-screens: {
-main_img_sm: '540px',
-nav_md: '860px',
-ban_lg: '1080px',
-nav_xl: '1400px',
-
-},
-colors: {
- main: '#bcdbfa',
-}
+ extend: {
+ screens: {
+ main_img_sm: '540px',
+ nav_md: '860px',
+ ban_lg: '1080px',
+ nav_xl: '1400px',
+ },
+ colors: {
+ main: '#bcdbfa',
+ },
+ },
},
plugins: [],
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i 've added some screen and color custom classes and after that i'm not being able to use any color and screen default classes.
/** @type {import('tailwindcss').Config} /
module.exports = {
content: [""],
theme: {
extend: {},
screens: {
main_img_sm: '540px',
nav_md: '860px',
ban_lg: '1080px',
nav_xl: '1400px',
},
plugins: [],
}
Beta Was this translation helpful? Give feedback.
All reactions