Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellmusarra committed Nov 14, 2020
0 parents commit 83b8172
Show file tree
Hide file tree
Showing 6 changed files with 714 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
yarn-error.log
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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.


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

## Installation

Install the plugin from npm:

```sh
# 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'),
// ...
],
}
```
Loading

0 comments on commit 83b8172

Please sign in to comment.