惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
B
Blog
S
SegmentFault 最新的问题
Vercel News
Vercel News
博客园 - 聂微东
宝玉的分享
宝玉的分享
C
Check Point Blog
有赞技术团队
有赞技术团队
IT之家
IT之家
V
V2EX
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
博客园 - 司徒正美
博客园_首页
Last Week in AI
Last Week in AI
博客园 - 叶小钗
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Fortinet All Blogs
腾讯CDC
J
Java Code Geeks

浮生事 - 技巧

实用为基,搞一个场地预约系统 用AI搞点小特效还是可以的 折叠便条特效 无插件实现图片灯箱效果 Markdown基本语法
屏幕上的头发丝
etom · 2026-04-15 · via 浮生事 - 技巧

屏幕上的头发丝

技巧 04-14 109人浏览 46字 etom

记不清在哪个博客上看到的了,觉得挺好玩,就扒下来耍耍。一段简单的js代码配一张图就搞定。记录于此以备所需。

<script>var randomNum = Math.floor(Math.random() * 300) + 1;document.write("<img src=\'/assets/images/fasi.png\' style=\'position: fixed; bottom: 50%; right: 30%; z-index: 999; pointer-events: none; width: 40%; max-width: 190px; transform: rotate("+randomNum+"deg);\'>");</script>

标签

版权属于: etom 本文链接: https://etom.top/archives/so14.html 转载申明: 转载请保留本文链接,著作权归作者所有。

评论

等风等雨等你来