廣告
请使用 http://www.luhui.net 網址高速訪問本站,歡迎關注微信公衆賬号:guanfu8 平台長期發布海量社科數據, 本站QQ交流群:84142868 探讨人文理想,共謀和諧世界!
黄金广告位招租,投放热线15900718107,13386070835 详情查看=》   鲁之虺:“  上网就是搜索,生活就是分类,科技服务大众,信息引领生活,地方分类站长,开启您的事业之旅。生活分类信息整体提供商:http://huike.luhui.net”。
×

鲁虺繁体中文社区

 找回密碼
 立即註冊
廣告

 

查看: 9|回復: 0

[❆JavaScript资源] bolinocroustibat动画背景animated-background

[複製鏈接]
發表於 2025-4-30 06:16:22 | 顯示全部樓層 |閱讀模式
廣告
搜索看看︰bolinocroustibat动画背景animated-background
廣告


bolinocroustibat动画背景animated-background.zip - ZIP 压缩文件, 解包大小为 14,218 字节



About
A completely configurable JS script that randomly moves and blurs small images objects on any website background. Demo:

一个完全可配置的 JS 脚本,可在任何网站背景上随机移动和模糊小图像对象。演示:


adriencarpentier.com/?skin=pc



Languages
JavaScript
70.5%

HTML
27.4%

CSS
2.1%




遊客,如果您要查看本帖隱藏內容請回復

JS 中的动画背景Animated background in JS
Dependencies
This script needs the JS module Velocity to work, so since there is no packaging in this project, you have to call it from your HTML page, like that:

<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/2.0.6/velocity.min.js"></script>
Getting Started
Place your images in the images folder. Prefer very small GIF or PNG image files.

Configuration is to be made in a JSON file following the example config file config.json with the right paths to your images. The configuration file needs to be called from the HTML page after Velocity is called:

<script src="config.js"></script>
Then you also need to call the main script from your webpage

<script src='animated_background.js'></script>
Finally, place an empty HTML wrapper with the id animated-background-wrapper in your HTML, outside of your content:

<div id="animated-background-wrapper"></div>
You're done!



廣告
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

廣告

廣告
操作系统 Fuchsia OS  |Microsoft Windows  |Android  |Chrome OS  |Novell  |Linux  |Mac OS X  |Unix  |FreeBSD  | Ubuntu
廣告

QQ|關于我們|聯繫我們|合作共赢|免責聲明|隐私条款|Archiver|手機版|拘留所|申請友鏈|付款方式|鲁虺繁体中文社区 |贊助我們 -

GMT+8, 2025-5-10 16:16 , Processed in 0.124801 second(s), 11 queries , WinCache On.

Powered by HCMS 1.0

© 2004-01-11 鲁虺文化网 版权所有

快速回復 返回頂部 返回列表