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>