Skip to content
Image-rendering utilities for Tailwind CSS.
Branch: master
Clone or download
Latest commit 814186c May 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add missing .gitignore file Jul 1, 2018
.travis.yml Add TravisCI config file May 21, 2019
index.js Add support for Tailwindcss v1.x May 21, 2019
package.json 1.0.0 May 21, 2019
pnpm-lock.yaml Add support for Tailwindcss v1.x May 21, 2019
readme.md Add instructions to install using pnpm May 21, 2019
test.js Add support for Tailwindcss v1.x May 21, 2019

readme.md

Tailwind CSS Image Rendering Plugin

This plugin adds utilities to use image-rendering with Tailwind CSS.

Installation

Add this plugin to your project:

# 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

Usage

require('tailwindcss-image-rendering')(['responsive'])
.rendering-auto { image-rendering: auto; }
.rendering-crisp-edges { image-rendering: crisp-edges; }
.rendering-pixelated { image-rendering: pixelated; }
You can’t perform that action at this time.