This package has been deprecated

Author message:

Use @igorkowalczyk/is-browser

@igorkowalczyk/is-firefox

2.0.5 • Public • Published

Tailwindcss

Is :Firefox

🦊 Add support for firefox: variant in Tailwind.css



📥 Installation

Tailwind.css v3 or newer is required.

npm install @igorkowalczyk/is-firefox
yarn add @igorkowalczyk/is-firefox
pnpm add @igorkowalczyk/is-firefox

📦 Usage

Add to plugins in your tailwind.config.js:

module.exports = {
 // ...
 plugins: [
  require("@igorkowalczyk/is-firefox"),
  // ...other plugins.
 ],
};

Style your components using firefox:{class}, e.g. firefox:bg-red-100, firefox:bg-blue-100, etc.

<div className="firefox:bg-red-100 bg-blue-100">
 <p>On firefox background should be red, on other browsers it should be blue</p>
</div>

⁉️ Issues

If you have any issues with the page please create new issue here

📥 Pull Requests

When submitting a pull request:

  • Clone the repo.
  • Create a branch off of master and give it a meaningful name (e.g. my-awesome-new-feature).
  • Open a pull request on GitHub and describe the feature or fix.

📋 License

This project is licensed under the MIT. See the LICENSE file for details

Package Sidebar

Install

npm i @igorkowalczyk/is-firefox

Weekly Downloads

1

Version

2.0.5

License

MIT

Unpacked Size

3.58 kB

Total Files

4

Last publish

Collaborators

  • igorkowalczyk