博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css文本显示_CSS技巧— CSS和文本选择与突出显示
阅读量:2516 次
发布时间:2019-05-11

本文共 1092 字,大约阅读时间需要 3 分钟。

css文本显示

CSS-Tricks.com's Chris Coyier authored a really cool post titled . In the post, Chris explained:

CSS-Tricks.com的Chris Coyier撰写了一篇非常酷的文章,标题为“ 。 克里斯在帖子中解释说:

One of those cool CSS3 declarations that you can use today is ::selection, which overrides your browser-level or system-level text highlight color with a color of your choosing. At the time of this writing, only Safari and Firefox are supporting this, and both in slightly different ways. Fortunately, this can be thought of as one of those "forward-enhancement" techniques. It's a nice touch for those using modern browsers, but it just gets ignored in other browsers and it's not a big deal.

您今天可以使用的很酷CSS3声明之一是::selection ,它使用您选择的颜色覆盖浏览器级别或系统级别的文本突出显示颜色。 在撰写本文时,只有Safari和Firefox支持此功能,并且两者的支持方式略有不同。 幸运的是,这可以被认为是这些“前向增强”技术之一。 对于使用现代浏览器的用户来说,这是一个很好的选择,但是在其他浏览器中它只会被忽略,这没什么大不了的。

You can view his example .

您可以查看他的示例。

Even cooler is that CSS-Tricks reader Erik Kastner coded a beautiful hidden logo at his blog.

更酷的是CSS-Tricks读者Erik Kastner在他的博客上编码了一个漂亮的隐藏徽标。

Take some time to visit and Meta-Atem.

花一些时间访问和Meta-Atem。

翻译自:

css文本显示

转载地址:http://jvvwd.baihongyu.com/

你可能感兴趣的文章
Centos安装Python3
查看>>
PHP批量插入
查看>>
laravel连接sql server 2008
查看>>
Laravel框架学习笔记之任务调度(定时任务)
查看>>
Swagger在Laravel项目中的使用
查看>>
Laravel 的生命周期
查看>>
Nginx
查看>>
Navicat远程连接云主机数据库
查看>>
Nginx配置文件nginx.conf中文详解(总结)
查看>>
jxl写入excel实现数据导出功能
查看>>
linux文件目录类命令|--cp指令
查看>>
.net MVC 404错误解决方法
查看>>
linux系统目录结构
查看>>
git
查看>>
btn按钮之间事件相互调用
查看>>
Entity Framework 4.3.1 级联删除
查看>>
codevs 1163:访问艺术馆
查看>>
冲刺Noip2017模拟赛3 解题报告——五十岚芒果酱
查看>>
并查集
查看>>
sessionStorage
查看>>