0.0.5 • Published 4 years ago

tw-toasts v0.0.5

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

Tailwind Toasts Plugin

Install

# Install via npm
npm install --save-dev

Usage

module.exports = {
    theme: {
    },
    variants: {
        aspectRatio: ['responsive']
    },
    plugins: [
        require("tw-toasts"),
    ]
}

This configuration would create the following classes:

.toast {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

Example HTML

<div class="toast"></div>