你会如何取消webkit/moz/etc.某物上的 none 值是默认值不是 none 吗?这是一个例子:
CSS
.container {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.inside {
}
HTML
<div class="container">
<div class="inside">
</div>
</div>
你会在 .container 中放入什么来否定 -webkit-user-select: none;?如果您希望内部的所有内容都由 -webkit-whatever 属性格式化,但某些特定内容除外,则需要这样做。
最佳答案
我不太明白这个问题。如果你想删除浏览器的默认属性 - 你可以用你的 css 覆盖它。
{
(-prefix-)user-select: none;
OR
(-prefix-)user-select: text;
OR
(-prefix-)user-select: all;
OR
(-prefix-)user-select: element;
}
如果您想在某人的网站上取消该规则 - 打开控制台并添加自定义样式。比如
-webkit-user-select: all;
关于html - 有没有办法取消一个已经没有值的webkit?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22549015/