2.0.5 ā€¢ Published 2 years ago

@igorkowalczyk/is-firefox v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2.0.5

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago