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

推荐订阅源

Martin Fowler
Martin Fowler
J
Java Code Geeks
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
腾讯CDC
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
V
V2EX
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
Jina AI
Jina AI
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
A
About on SuperTechFans
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
B
Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium

浮生事 - 技巧

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

屏幕上的头发丝

技巧 04-14 110人浏览 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 本文链接: http://etom.top/archives/so14.html 转载申明: 转载请保留本文链接,著作权归作者所有。

评论

等风等雨等你来