Installations
npm install tailwindcss-animation-delay
Developer
burnworks
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
21.7.3
NPM Version
10.2.0
Statistics
37 Stars
24 Commits
1 Forks
1 Watching
1 Branches
1 Contributors
Updated on 24 Oct 2024
Bundle Size
1.13 kB
Minified
514.00 B
Minified + Gzipped
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
2,103,656
Last day
-37.5%
3,866
Compared to previous day
Last week
-0.5%
31,164
Compared to previous week
Last month
4%
123,759
Compared to previous month
Last year
75.1%
1,256,949
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
tailwindcss-animation-delay
Tailwind CSS plugin, add animation-delay CSS property.
[!NOTE] Version 2.0.0 now supports negative values.
Installation
Install the plugin from npm:
1# Using npm 2npm install tailwindcss-animation-delay 3 4# Using Yarn 5yarn add tailwindcss-animation-delay
Then add the plugin to your tailwind.config.js file:
1/** @type {import('tailwindcss').Config} */ 2module.exports = { 3 theme: { 4 // ... 5 }, 6 plugins: [ 7 require("tailwindcss-animation-delay"), 8 // ... 9 ], 10}
Usage
animation-delay-{n}
class to specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation.
1<svg class="animate-bounce animation-delay-300 w-6 h-6 ..."> 2 <!-- ... --> 3</svg>
Negative values
To use a negative animation-delay value, prefix the class name with a dash to convert it to a negative value.
1<svg class="animate-bounce -animation-delay-600 w-6 h-6 ..."> 2 <!-- ... --> 3</svg>
Class | Properties |
---|---|
animation-delay-none | animation-delay: 0s; |
animation-delay-75 | animation-delay: 75ms; |
animation-delay-100 | animation-delay: 100ms; |
animation-delay-150 | animation-delay: 150ms; |
animation-delay-200 | animation-delay: 200ms; |
animation-delay-300 | animation-delay: 300ms; |
animation-delay-400 | animation-delay: 400ms; |
animation-delay-500 | animation-delay: 500ms; |
animation-delay-600 | animation-delay: 600ms; |
animation-delay-700 | animation-delay: 700ms; |
animation-delay-800 | animation-delay: 800ms; |
animation-delay-900 | animation-delay: 900ms; |
animation-delay-1000 | animation-delay: 1000ms; |
animation-delay-1100 | animation-delay: 1100ms; |
animation-delay-1200 | animation-delay: 1200ms; |
animation-delay-1300 | animation-delay: 1300ms; |
animation-delay-1400 | animation-delay: 1400ms; |
animation-delay-1500 | animation-delay: 1500ms; |
animation-delay-2000 | animation-delay: 2000ms; |
animation-delay-3000 | animation-delay: 3000ms; |
animation-delay-4000 | animation-delay: 4000ms; |
animation-delay-5000 | animation-delay: 5000ms; |
animation-delay-6000 | animation-delay: 6000ms; |
animation-delay-7000 | animation-delay: 7000ms; |
animation-delay-8000 | animation-delay: 8000ms; |
animation-delay-9000 | animation-delay: 9000ms; |
-animation-delay-75 | animation-delay: -75ms; |
-animation-delay-100 | animation-delay: -100ms; |
-animation-delay-150 | animation-delay: -150ms; |
-animation-delay-200 | animation-delay: -200ms; |
-animation-delay-300 | animation-delay: -300ms; |
-animation-delay-400 | animation-delay: -400ms; |
-animation-delay-500 | animation-delay: -500ms; |
-animation-delay-600 | animation-delay: -600ms; |
-animation-delay-700 | animation-delay: -700ms; |
-animation-delay-800 | animation-delay: -800ms; |
-animation-delay-900 | animation-delay: -900ms; |
-animation-delay-1000 | animation-delay: -1000ms; |
-animation-delay-1100 | animation-delay: -1100ms; |
-animation-delay-1200 | animation-delay: -1200ms; |
-animation-delay-1300 | animation-delay: -1300ms; |
-animation-delay-1400 | animation-delay: -1400ms; |
-animation-delay-1500 | animation-delay: -1500ms; |
-animation-delay-2000 | animation-delay: -2000ms; |
-animation-delay-3000 | animation-delay: -3000ms; |
-animation-delay-4000 | animation-delay: -4000ms; |
-animation-delay-5000 | animation-delay: -5000ms; |
-animation-delay-6000 | animation-delay: -6000ms; |
-animation-delay-7000 | animation-delay: -7000ms; |
-animation-delay-8000 | animation-delay: -8000ms; |
-animation-delay-9000 | animation-delay: -9000ms; |
Configuration
You can configure which values and variants are generated by this plugin under the animationDelay
key in your tailwind.config.js file:
1/** @type {import('tailwindcss').Config} */ 2module.exports = { 3 theme: { 4 animationDelay: { 5 100: "100ms", 6 200: "200ms", 7 300: "300ms", 8 400: "400ms", 9 "-3000": "-3000ms", 10 "-7000": "-7000ms", 11 }, 12 }, 13 variants: { 14 animationDelay: ["focus"], 15 }, 16}
Extending the default theme
If you’d like to preserve the default values for a theme option but also add new values, add your extensions under the theme.extend
key in your configuration file.
1/** @type {import('tailwindcss').Config} */ 2module.exports = { 3 theme: { 4 extend: { 5 animationDelay: { 6 120: "120ms", 7 250: "250ms", 8 350: "350ms", 9 450: "450ms", 10 "-3500": "-3500ms", 11 "-7500": "-7500ms", 12 }, 13 }, 14 }, 15}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 1/23 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Score
3
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to tailwindcss-animation-delay
tailwindcss-animate
A Tailwind CSS plugin for creating beautiful animations.
tailwindcss-animated
Extended animation utilities for Tailwind CSS
@material/animation
Animation Variables and Mixins used by Material Components for the web
tailwindcss-animation
TailwindCSS plugin with various animation utilities.