Skip to content

Commit 2d9c124

Browse files
committed
update function
1 parent 86fee91 commit 2d9c124

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

animate/animate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ module.exports = function ({ classes = [], settings = {}, variants = ['responsiv
474474

475475
if (classes && classes.length > 0) {
476476
classes.forEach((el) => {
477-
utilities[`.animate__${el}`] = fallbackUtilities[`.animate__${el}`];
477+
utilities[`.${el}`] = fallbackUtilities[`.${el}`];
478478
keyFrames[`@keyframes ${el}`] = fallbackKeyframes[`@keyframes ${el}`];
479479
});
480480
} else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tailwindcss-animatecss",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Add Animate CSS as Tailwind CSS plugin to your project.",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)