@rise8/tailwind-pixel-perfect-preset
v1.0.1
Published
A Tailwind CSS preset that replaces rem with px.
Downloads
1,641
Keywords
Readme
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.