Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 645 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 645 Bytes

tailwind-pixel-perfect-preset

A Tailwind CSS preset that replaces rem with px.

Install

npm install --save-dev @rise8/tailwind-pixel-perfect-preset
# or
yarn add --dev @rise8/tailwind-pixel-perfect-preset

Update your tailwind.config.js to use the preset:

//cjs
module.exports = {
  presets: [
    require('@rise8/tailwind-pixel-perfect-preset')
  ],
  // ...
}
//esm
import tailwindPixelPerfectPreset from '@rise8/tailwind-pixel-perfect-preset'

export default {
  presets: [
    tailwindPixelPerfectPreset
  ],
  // ...
}

Careers

Explore new opportunities with Rise8.