Skip to content

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

Notifications You must be signed in to change notification settings

mjwebs/tailwindcss-frosted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tailwindcss-frosted

A TailwindCSS plugin that provides a set of frosted classes to create a modern layering effect 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:

npm install @mjwebs/tailwindcss-frosted

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published