I would like add in my tailwind.config.js linear gradient. This not is possible?
exemplo using
`theme: {
extend: {
colors: {
darkGrad: {
DEFAULT: 'linear-gradient(to bottom, #181381, #150B32, #000000, #5C2C85, #590544)',
},
// ... outras cores
},
// ... outras extensões
},
},`
`<body class="bg-darkGrad">
</body>
`
I think that the code not is working
`'linear-gradient(to bottom, #181381, #150B32, #000000, #5C2C85, #590544)',`
2
Answers
You can extend background images instead.
try this
furthermore for background images