New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

animatecss-tailwind

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animatecss-tailwind

This plugin helps you use [animateCss](https://animate.style/) animation in tailwind.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

tailwindcss animatecss plugin

This plugin helps you use animateCss animation in tailwind.

Initial setup

First of all add the plugin to the "tailwind.config.js" file :

// tailwind.config.js
module.exports = {
  content: ['...'],
  theme: {
    extend: {},
  },
  plugins: [require('animatecss-tailwind')],
};

examples :

<div class="animate-animated animate-zoomInDown"></div>

animation delay

animation delays are inspired by tailwind-animation-delay

examples :

<div class="animate-ping animation-delay-1"></div>
<div class="animate-ping animation-delay-2"></div>
<div class="animate-ping animation-delay-3"></div>
<div class="animate-ping animation-delay-4"></div>
<div class="animate-ping animation-delay-5"></div>
<div class="animate-ping animation-delay-6"></div>
<div class="animate-ping animation-delay-7"></div>
<div class="animate-ping animation-delay-8"></div>
<div class="animate-ping animation-delay-9"></div>
<div class="animate-ping animation-delay-10"></div>

customization

These are the allowed values by default :

{
  1: "250",
  2: "500",
  3: "750",
  4: "1000",
  5: "1250",
  6: "1500",
  7: "1750",
  8: "2000",
  9: "2250",
  10: "2500"
}

But you can still use your own values by changing the "animationDelay" property :

// tailwind.config.js
module.exports = {
  content: ['...'],
  theme: {
    extend: {},
    animationDelay: {
      1: '1000',
      2: '2000',
      3: '3000',
    },
  },
  plugins: [require('animatecss-tailwind')],
};

Keywords

tailwindcss

FAQs

Package last updated on 14 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts