选择文本时,浏览器的默认背景颜色是什么? [英] What is the browser-default background color when selecting text?

查看:148
本文介绍了选择文本时,浏览器的默认背景颜色是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您在网页中选择文字时,背景会获得默认的蓝色。

解决方案


  1. Safari 6.0.3 Mac * #B4D5FE

  2. Chrome 26.0.1410.65 Mac * #ACCEF7

  3. Firefox 19.0 Mac * #B4D5FF

  4. Chrome 26.0.1410.64 m Windows 8 + #3297FD

  5. Firefox 20.0.1 Windows 8 + #3399FF

  6. Safari 5.1.7 Windows 8 < sup> + :#3298FD

  7. 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?

    解决方案

    1. Safari 6.0.3 Mac*: #B4D5FE
    2. Chrome 26.0.1410.65 Mac*: #ACCEF7
    3. Firefox 19.0 Mac*: #B4D5FF
    4. Chrome 26.0.1410.64 m Windows 8+: #3297FD
    5. Firefox 20.0.1 Windows 8+: #3399FF
    6. Safari 5.1.7 Windows 8+: #3298FD
    7. 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...

    1. Browser
    2. Operating System
    3. Browser Version (maybe)

    ...will have a different color. Also, as of CSS3, you can change the color using:

    ::selection{
        background-color:#000;
    }
    

    这篇关于选择文本时,浏览器的默认背景颜色是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆