Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
tailwindcss-animatecss
Advanced tools
Add Animate CSS as Tailwind CSS plugin to your project.
Tailwindcss >= v3.1.8 is required.
Pull it in through npm or yarn:
npm install tailwindcss-animatecss
yarn add tailwindcss-animatecss
Use animatecss < v4:
npm install tailwindcss-animatecss@0.3.3
yarn add tailwindcss-animatecss@0.3.3
For Documentation checkout Branch feature/v2
npm install tailwindcss-animatecss@1.0.8
yarn add tailwindcss-animatecss@1.0.8
Add Tailwind CSS to your project as described here. Install tailwindcss plugin as described above and add it to your tailwind.config.js file.
plugins: [
// Other plugins
require('tailwindcss-animatecss'),
]
You want to determine yourself which classes are used? You just have to set these class names at the classes array. For example if you want .animate__fadeIn
just add fadeIn
to the array.
You can find all available class names further down.
Defining the classes is recommended to avoid to bloat your css with unused classes and keyframes.
// tailwind.config.js
module.exports = {
theme: {
animatedSettings: {
animatedSpeed: 1000,
heartBeatSpeed: 500,
hingeSpeed: 2000,
bounceInSpeed: 750,
bounceOutSpeed: 750,
animationDelaySpeed: 500,
classes: ['bounce', 'heartBeat']
}
},
}
If you want to prefix your CSS classes, use the tailwind prefix option:
// tailwind.config.js
module.exports = {
prefix: 'tw-',
// ...
}
animatedSpeed
used for the animationDuration of the .animated classheartBeat
used for the animationDuration of the .heartBeat classhingeSpeed
used for the animationDuration of the .hingeSpeed classbounceInSpeed
used for the animationDuration of the .bounceInSpeed classbounceOutSpeed
used for the animationDuration of the .bounceOutSpeed classanimationDelaySpeed
used for the animationDelaySpeed, just add .delay class to your elementAll of these settings are optional, if not set basic animate.css fallback animationDuration speed is used.
The plugin generates all the animate.css utility classes for you.
Generating different class variants is super easy, tailwind does all the work for you.
Coming soon…
This package is based on awesome Animate.css.
tailwindcss-layered-box-shadow
This project is licensed under the MIT License.
FAQs
Add Animate CSS as Tailwind CSS plugin to your project.
The npm package tailwindcss-animatecss receives a total of 7,713 weekly downloads. As such, tailwindcss-animatecss popularity was classified as popular.
We found that tailwindcss-animatecss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.