Skip to content

Commit c09d32d

Browse files
committed
?
0 parents  commit c09d32d

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @tailwindcss/aspect-ratio
2+
3+
A plugin that provides a helpful `?` dev time utility.

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "tailwind-question-mark",
3+
"version": "0.0.1",
4+
"description": "A plugin that provides a helpful `?` dev time utilit",
5+
"main": "src/index.js",
6+
"license": "MIT",
7+
"scripts": {
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/GavinJoyce/tailwindcss-question-mark.git"
13+
},
14+
"author": "Gavin Joyce",
15+
"bugs": {
16+
"url": "https://github.com/GavinJoyce/tailwindcss-question-mark/issues"
17+
},
18+
"homepage": "https://github.com/GavinJoyce/tailwindcss-question-mark#readme"
19+
}

src/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const plugin = require('tailwindcss/plugin')
2+
3+
module.exports = plugin(function({ addUtilities, e }) {
4+
addUtilities({
5+
'.\?': {
6+
'animation': `${e('?')}wobble 0.5s ease-in-out alternate infinite`
7+
},
8+
'@keyframes \\?wobble': {
9+
'0%': {
10+
'box-shadow': 'inset 4px 4px rgb(236, 15, 170), inset -4px -4px rgb(236, 15, 170)'
11+
},
12+
'100%': {
13+
'box-shadow': 'inset 8px 8px rgb(236, 15, 170), inset -8px -8px rgb(236, 15, 170)'
14+
},
15+
}
16+
});
17+
});

0 commit comments

Comments
 (0)