首页
Search
1
解决visual studio code (vscode)安装时没有选择安装路径问题
337 阅读
2
如何在 Clash for Windows 上配置服务
232 阅读
3
Arch Linux 下解决 KDE Plasma Discover 的 Unable to load applications 错误
153 阅读
4
Linux 下 Bash 脚本 bad interpreter 报错的解决方法
153 阅读
5
uniapp打包app提示通讯录权限问题,如何取消通讯录权限
119 阅读
clash
服务器
javascript
全部
游戏资讯
登录
Search
加速器之家
累计撰写
1,734
篇文章
累计收到
0
条评论
首页
栏目
clash
服务器
javascript
全部
游戏资讯
页面
搜索到
1297
篇与
的结果
2024-08-22
如何使用css给网站图片加灰色
2020年4日4,为表达全国各族人民对抗击新冠肺炎疫情斗争牺牲烈士和逝世同胞的深切哀悼,国务院发布公告,决定2020年4月4日举行全国性哀悼活动。从4月3日下午起,娱乐诸多网站自发更换灰色,以悼念逝者,致敬英雄,你发现,生活常见的网站以及app都变成灰色,现在来说下说是如何实现的。网站设置灰色html{ -webkit-filter: grayscale(100%); /* webkit */ -moz-filter: grayscale(100%); /*firefox*/ -ms-filter: grayscale(100%); /*ie9*/ -o-filter: grayscale(100%); /*opera*/ filter: grayscale(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); filter:gray; /*ie9- */ }
2024年08月22日
8 阅读
0 评论
0 点赞
2024-08-22
html,css 如何设置input的placeholder样式
html,css 如何设置input的placeholder样式,在做前端开发时,如果想写对input设置字体,文字大小,颜色等,我们该如何设置呢?通过如下设置兼容主流浏览器:-webkit-input-placeholder /* WebKit browsers */input::-moz-placeholder /* Mozilla Firefox 19+ */input::-ms-input-placeholder /* Internet Explorer 10+ */以下是个简单的例子,对input设置字体颜色和字体大小,如果需要其他的样式,加入即可。.rj_zyyform input::-webkit-input-placeholder { /* WebKit browsers */ color: #7f7f7f; font-size: 0.96rem; } .rj_zyyform input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #7f7f7f; font-size: 0.96rem; } .rj_zyyform input::-ms-input-placeholder { /* Internet Explorer 10+ */ color: #7f7f7f; font-size: 0.96rem; }
2024年08月22日
7 阅读
0 评论
0 点赞
2024-08-22
解决苹果ios手机下select标签和input标签显示问题
手机端页面在苹果ios下select标签和input标签显示颜色很奇怪?而安卓上显示没问题。出现这个问题的原因:因为ios有自己自带的样式,我们需要将默认样式取消掉,然后在设计自己的样式input[type=datetime-local]{ -webkit-appearance:none; outline:none; border:none; } select{ -webkit-appearance: none; /*这样select默认的样式就没有了,后面的箭头也没有了,自己找个图标添加进去就可以了*/ padding-right:30px; /*给右边图标留位置*/ background: url("arrow.png") no-repeat scroll right center transparent; /*放自己的图标*/ }
2024年08月22日
8 阅读
0 评论
0 点赞
2024-08-22
解决foundation5下CSS伪元素::after在iOS14以上系统不显示问题
最近在写页面,发现ios下不显示,安卓和pc折叠导航下的CSS伪元素::after都能正常显示。解决方法:因为官方默认高度为0没有加上高度height对此,我们只需增加一段样式<style> .top-bar .toggle-topbar.menu-icon a span::after{ height: 1px; background: #fff } </style>即可解决该问题。
2024年08月22日
15 阅读
0 评论
0 点赞
2024-08-22
animate.css动画执行时间修改方法
Animate.css 作为一款强大的预设css3动画库,很值得我们在项目中引用。但是统一的动画时间不是很好看。可以通过下面css对其进行修改。.ssxin1为class,可以独立为每个动画设置.ssxin1.animated { -webkit-animation-duration: 1s; animation-duration: 2.5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; }
2024年08月22日
34 阅读
0 评论
0 点赞
1
...
248
249
250
...
260