选择文本时,浏览器的默认背景颜色是什么? [英] What is the browser-default background color when selecting text?
本文介绍了选择文本时,浏览器的默认背景颜色是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当您在网页中选择文字时,背景会获得默认的蓝色。
解决方案
- Safari 6.0.3 Mac * :
#B4D5FE
- Chrome 26.0.1410.65 Mac * :
#ACCEF7
- Firefox 19.0 Mac * :
#B4D5FF
- Chrome 26.0.1410.64 m Windows 8 + :
#3297FD
- Firefox 20.0.1 Windows 8 + :
#3399FF
- Safari 5.1.7 Windows 8 < sup> + :
#3298FD
- Internet Explorer 10.0.4 Windows 8 +
#3399FF
* 使用ColorSnapper for Mac
+ 使用ColorSchemer for Windows查找
$ b
将有不同的颜色。此外,从CSS3,你可以改变颜色使用:
:: selection {
background-color: 000;
}
When you select text in a webpage, the background gets a default blue color. What exact color code does this blue color have?
解决方案
- Safari 6.0.3 Mac*:
#B4D5FE
- Chrome 26.0.1410.65 Mac*:
#ACCEF7
- Firefox 19.0 Mac*:
#B4D5FF
- Chrome 26.0.1410.64 m Windows 8+:
#3297FD
- Firefox 20.0.1 Windows 8+:
#3399FF
- Safari 5.1.7 Windows 8+:
#3298FD
- Internet Explorer 10.0.4 Windows 8+:
#3399FF
*Found using ColorSnapper for Mac +Found using ColorSchemer for Windows
This will be a never ending list, however, since each...
- Browser
- Operating System
- Browser Version (maybe)
...will have a different color. Also, as of CSS3, you can change the color using:
::selection{
background-color:#000;
}
这篇关于选择文本时,浏览器的默认背景颜色是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文