Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rise8-us/tailwind-pixel-perfect-preset

A Tailwind CSS preset that replaces rem with px.
https://github.com/rise8-us/tailwind-pixel-perfect-preset

tailwind-css tailwind-plugin tailwind-plugins tailwindcss tailwindcss-plugin

Last synced: 2 months ago
JSON representation

A Tailwind CSS preset that replaces rem with px.

Awesome Lists containing this project

README

        

# tailwind-pixel-perfect-preset
A Tailwind CSS preset that replaces rem with px.

## Install
```shell
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:

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

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

## Careers
Explore new opportunities with [Rise8](https://rise8.us/careers/).