By admin, 30 十一月, 2022 全站置灰CSS(默哀模式) html { -webkit-filter: grayscale(100%) !important; -moz-filter: grayscale(100%) !important; -ms-filter: grayscale(100%) !important; -o-filter: grayscale(100%) !important; filter: grayscale(100%) !important; filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1) !important; } 标签 CSS
By admin, 8 四月, 2020 flexbox指南 https://css-tricks.com/snippets/css/a-guide-to-flexbox/ http://zh.learnlayout.com/flexbox.html 标签 CSS
By admin, 25 九月, 2019 Font Awesome / iconfont 一套广泛应用的CSS字体图标 http://fontawesome.dashgame.com/ 下面这个可下载base64版本: https://www.iconfont.cn/ 标签 CSS
By admin, 25 九月, 2019 让div在另一个div里居中的方法 关键在于transform: translate(-50%, -50%); .centered { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } 参考:https://www.w3schools.com/howto/howto_css_image_text.asp 标签 CSS
By admin, 25 九月, 2019 background-attachment:fixed, background-size:cover 这两个背景图CSS样式很有用: background-attachment:fixed, background-size:cover https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_parallax_percent https://www.w3schools.com/CSSref/css3_pr_background-size.asp 标签 CSS
By admin, 17 六月, 2017 CSS函数calc width: calc(100% - 100px); 参考:https://www.w3schools.com/cssref/func_calc.asp 标签 CSS
By admin, 10 十一月, 2015 如何使用CSS使两个元素始终处于同一个位置 为了便于观察,我把边框尺寸做成不一样。 <div style="position:relative"> <div style="width:100px;height:100px;border:3px solid #f00"> </div> 标签 CSS
By admin, 28 十月, 2015 PHP网站开发指引 非程序员: Wordpress(官网) Discuz(官网,下载) 基础: 标签 Web HTML JavaScript CSS jQuery PHP
最新评论