Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@jcamp/tailwindcss-plugin-animate
Advanced tools
An updated animation plugin for Tailwind CSS v3
An updated animation plugin for Tailwind CSS v3
Easily add animations to your Tailwind projects. Uses the animations from animate.css but through Tailwind's system.
<div class="animate-shake-x animate-delay animate-infinite">(icon)</div>
Keyframes are only added to the generated CSS if an animation using them is added.
npm i -D @jcamp/tailwindcss-plugin-animate
Then add the plugin to your tailwind.config.js
file:
// tailwind.config.js
const animate = require('@jcamp/tailwindcss-plugin-animate')
module.exports = {
theme: {
// ...
},
plugins: [
animate({
/* options */
}),
// ...
],
}
// tailwind.config.ts
import type { Config } from 'tailwindcss'
import animate from '@jcamp/tailwindcss-plugin-animate'
export default <Partial<Config>>{
theme: {
// ...
},
plugins: [
animate({
/* options */
}),
],
}
Refer to the type definition for all configurations avaliable.
This plugin is heaviliy inspired by and based on the work of tailwindcss-animate.css created by Fabian Bentz. Unfortunately, this package has not been updated in a few years and not for Tailwind v3 either.
It is also includes some ideas by Jamie Kyle and his work at tailwindcss-animate. I wanted more keyframes built in, but liked his ideas for matching utilities.
MIT License © 2022-PRESENT John Campion
FAQs
An updated animation plugin for Tailwind CSS v3
We found that @jcamp/tailwindcss-plugin-animate 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.