
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
css-transition-rule
Advanced tools
You can see a demo here
npm i css-transition-rule
<div id="target1" stype="background:red;padding:40px">My target1</div>
<div id="target2" stype="background:red;padding:40px">My target2</div>
/* Creating custom transition */
/* MyTransition */
.transition__MyTransition__enter {
transform: translate(30%) translateZ(600px) rotate(10deg) scale(1.3)!important;
opacity: 0!important;
}
.transition__MyTransition__enter-active {
transition: opacity .2s, transform .3s!important;
transform: none!important;
opacity: 1!important;
}
.transition__MyTransition__exit-active {
transition: opacity 0.2s, transform 0.3s!important;
transform: translate(30%) translateZ(600px) rotate(10deg) scale(1.3)!important;
opacity: 0!important;
}
import { csstransition, TRANSITIONS } from 'css-transition-rule'
// TRANSITIONS contains:
// Fade, Fall, ScaleUp, HorizontalFlip3D, Newspaper,
// SideFall, Sign3D, SuperScale, SlideFromRight,
// SlideFromLeft, SlideFromBottom, SlideFromTop,
// Slide_StickToTop, VerticalFlip3D
let el1 = document.querySelector('#target1')
let el2 = document.querySelector('#target2')
csstransition(el1, 'MyTransition')
.exit()
.run(() => {
console.log('transition 1 completed')
csstransition(el1, TRANSITIONS.Slide_StickToTop)
.enter()
.run(() => {
console.log('transition 2 completed')
})
})
csstransition()
.add(el1, TRANSITIONS.Fall)
.add(el2, TRANSITIONS.Newspaper)
.enter()
.sequence(() => {
console.log('transition completed')
})
FAQs
Simple css transitions
We found that css-transition-rule 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.