Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么在应用yui上下文重置后,我的webkit编号输入旋转按钮停止工作_Html_Css_Yui - Fatal编程技术网

Html 为什么在应用yui上下文重置后,我的webkit编号输入旋转按钮停止工作

Html 为什么在应用yui上下文重置后,我的webkit编号输入旋转按钮停止工作,html,css,yui,Html,Css,Yui,我添加了这样的样式表 <link rel="stylesheet" href="http://yui.yahooapis.com/3.13.0/build/cssreset-context/cssreset-context.css" type="text/css" /> <link href="/static/css/style.css" rel="stylesheet" type="text/css" /> 在my style.css中,从数字输入中删除旋转按钮 但是

我添加了这样的样式表

<link rel="stylesheet" href="http://yui.yahooapis.com/3.13.0/build/cssreset-context/cssreset-context.css" type="text/css" />
<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
在my style.css中,从数字输入中删除旋转按钮

但是在我将链接应用到yui reset之后,我输入的代码::-webkit。。。。。已经停止工作了。
我无法让它再次工作,有人能帮我解释一下吗。

这是我的猜测,因为您没有提供任何代码。我认为这与CSS特殊性规则有关

yui cssreset将样式应用于
。yui cssreset

由于您在html元素上提供样式,因此yui cssreset中的规则被认为更具体,优先级更高

阅读本文,更好地了解CSS规则的优先级


您需要给出html,否则无法回答。对于初学者,现在添加html:这篇文章帮助很大。实际上,在应用yui3重置之后,我还必须将属性应用于-webkit外部自旋,而不仅仅是-webkit内部自旋。这很有效
input::-webkit-inner-spin- {
-webkit-appearance: none;
margin: 0; 
}