Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shornuk/tw-toasts
Plugin that generates toast utilities for TailwindCSS
https://github.com/shornuk/tw-toasts
Last synced: 13 days ago
JSON representation
Plugin that generates toast utilities for TailwindCSS
- Host: GitHub
- URL: https://github.com/shornuk/tw-toasts
- Owner: shornuk
- Created: 2020-08-12T22:39:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T08:23:32.000Z (over 4 years ago)
- Last Synced: 2024-11-09T02:39:48.729Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailwind Toasts Plugin
## Install
```bash
# Install via npm
npm install --save-dev
```## Usage
```js
module.exports = {
theme: {
},
variants: {
aspectRatio: ['responsive']
},
plugins: [
require("tw-toasts"),
]
}
```This configuration would create the following classes:
```scss
.toast {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
```## Example HTML
```html
```