Image not rendering in tailwind css

64

# Install using pnpm pnpm install --save-dev tailwindcss-image-rendering # Install using npm npm install --save-dev tailwindcss-image-rendering # Install using yarn yarn add -D tailwindcss-image-rendering
.rendering-auto { image-rendering: auto; }.rendering-crisp-edges { image-rendering: crisp-edges; }.rendering-pixelated { image-rendering: pixelated; }
// tailwind.config.js{  theme: {},  // no options to configure  variants: { // all the following default to ['responsive']    imageRendering: ['responsive'],  },  plugins: [    require('tailwindcss-image-rendering'), // no options to configure  ],}

Comments

Submit
0 Comments