如何从图像使用css更改蓝色背景选择颜色 [英] How to Change blue background selection color from image using css

查看:412
本文介绍了如何从图像使用css更改蓝色背景选择颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我如何从选择的图像中删除蓝色
你可以从这里看到截图...

推荐答案

您可以使用 用户选择 属性(虽然按 CTRL + A 仍会导致蓝色选择背景显示为@ WebDesignerRDj指出):

You can use the user-select property (though pressing CTRL + A will still cause the blue selection background to appear as @WebDesignerRDj pointed out):

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
     user-select: none;
    }

http://jsfiddle.net/rU2y4/2/

这篇关于如何从图像使用css更改蓝色背景选择颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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