Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
alice-animate
Advanced tools
Css 3 动画样式。代码来自:https://github.com/daneden/animate.css
通过 link 打包引用或使用 seajs.use 引入样式文件,然后绑定对应的 className。
seajs.use(['jquery', 'alice/animate/1.0.0/animate.css'], function($) {
$('#test').addClass('animated bounceOutLeft'); // bounceOutLeft 可替换成你想要的效果
});
改变动画元素的动画参数。
#yourElement {
-vendor-animation-duration: 3s;
-vendor-animation-delay: 2s;
-vendor-animation-iteration-count: infinite;
}
.animate-obj { display: inline-block; padding: 0 20px; height: 60px; background-color: #112233; border-radius: 6px; opacity: 0.9; color: #fff; line-height: 60px; text-align: center; }以下动画效果在支持css3 animate的高级浏览器中有效。
seajs.use(['jquery', 'index.css'], function($) {
$('#trigger1').click(function() {
$('#test1').addClass('animated bounceIn');
});
});
seajs.use(['jquery', 'index.css'], function($) {
$('#trigger2').click(function() {
$('#test2').addClass('animated fadeInUp');
});
});
seajs.use(['jquery', 'index.css'], function($) {
$('#trigger3').click(function() {
$('#test3').addClass('animated rotateInUpRight');
});
});
seajs.use(['jquery', 'index.css'], function($) {
$('#trigger4').click(function() {
$('#test4').addClass('animated tada');
});
});
seajs.use(['jquery', 'index.css'], function($) {
$('#trigger5').click(function() {
$('#test5').addClass('animated shake');
});
});
FAQs
酷炫的 CSS3 动画。
We found that alice-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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.