.bg-clip-text missing -webkit-background-clip #2655
-
I have been looking at the cropping to text example in the tailwindCSS docs. If I copy the CSS from the tailwindCSS docs example to my website, the whole span receives the gradient, without clipping TailwindCSS example;Copying the classes into my website;When I inspect this element, I've noticed that -webkit-background-clip is missing from the class TailwindCSS example;Copying the classes into my website;If I add this in using devtools, it works as expected. I double checked my package.json file, and I have the latest version of Tailwind. I also checked my tailwind.config.js and I'm not excluding any plugins
Pretty confused, I must be missing something obvious? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
fixed, needed |
Beta Was this translation helpful? Give feedback.
fixed, needed
require('autoprefixer')
in postcss.config.js