1.0.3 • Published 3 years ago

@mjwebs/tailwindcss-frosted v1.0.3

Weekly downloads
22
License
ISC
Repository
github
Last release
3 years ago

tailwindcss-frosted

A TailwindCSS plugin that provides a set of frosted classes to create a modern illusion of layering for modals and slide-over elements.

<section class="p-5 shadow frosted">
  <span>
    <!-- Modal or slide-over content -->
  </span>
</section>

Installation

Install the plugin from npm:

# Using npm
npm install @mjwebs/tailwindcss-frosted


Then add the plugin to your `tailwind.config.js` file:

```js
// tailwind.config.js
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('@mjwebs/tailwindcss-frosted'),
    // ...
  ],
}
1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago