Comments (5)
首页背景图上面有那个纹理,好好看,怎么实现的啊,我是个css初学者,麻烦告诉我下
实际上就是一个像素的图片。然后x轴y轴重复就可以了。。 没什么特别的 唯一需要注意的就是设置一下z-index,让它在最上方就行
from halo-theme-sakura.
像素照片??方便发我下吗,感觉像在做ppt,谢谢啦
from halo-theme-sakura.
https://cdn.jsdelivr.net/gh/LIlGG/[email protected]/img/Sakura/images/grid.png
from halo-theme-sakura.
这样填几千个,不会影响性能吗,为啥不直接弄个更大分辨率的放到背景图片上面
from halo-theme-sakura.
这样填几千个,不会影响性能吗,为啥不直接弄个更大分辨率的放到背景图片上面
你弄一张大图也可以。 但我个人还是觉得小图比较适合。
- 就算重复十几万像素点 对于现代电脑来说也是可以忽略不计的
- 使用大图和使用小图,在渲染上来说是一样的。甚至更大分辨率的图像需要渲染的像素点更多
- 从网络请求一张大图,远比一张小图速度慢的多
不过现代浏览器,这两个差别也不会很大。实际上你用哪种方式都行。但如果用大图,网速慢的时候,可能会很突兀
from halo-theme-sakura.
Related Issues (20)
- 顶栏选项不居中
- 除了使用随机图,能否提供一个用户可以自己定义每篇文章的图片的功能 HOT 2
- 编辑器中设置图片大小后无效
- 怎么实现国际化 HOT 1
- 导航菜单 多级出现覆盖的问题 HOT 1
- 有些随机图加载会出现302,报错thumbnail of the cover of the post HOT 4
- 开启评论后打开文章报错服务器内部错误,报错为评论功能传了个null HOT 2
- 为多行代码框添加长代码自动换行功能 HOT 1
- 随机图 API 资源标识变量会导致文章列表与详情页面图片不幂等 HOT 1
- 文章无法显示有序列表 HOT 2
- 浏览器夜览模式下高亮文字无法正常显示 HOT 5
- 提几个改善的小建议 HOT 1
- 当语言包缓存存在时,不会再重新加载
- 导航栏图标对齐问题
- 使用主题服务器产生内部错误500 HOT 8
- 在哪改头像嘞 HOT 1
- 微信分享功能没网址只有网址之后链接 HOT 1
- 微信分享功能没网址只有网址之后链接
- 微信分享功能没网址只有网址之后链接
- 画廊不显示图片 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halo-theme-sakura.