我希望我可以发布关于什么是错误的代码,但坦率地说,我不知道。我的网页可以正常工作,但联系面板中的输入元素不允许我输入任何内容。知道为什么吗?
问问题
36 次
2 回答
0
In your CSS http://s1527.mtchs.org/techmuffins.css
The first rule contains declarations that will render everything (*
) "unselectable", specifically the collection of (cross-browser) variants of the user-select
property.
* {
margin: 0;
padding: 0;
-webkit-touch-callout: none; /****************************/
-webkit-user-select: none; /* Remove these lines */
-khtml-user-select: none; /* or make the CSS selector */
-moz-user-select: none; /* more specific to avoid */
-ms-user-select: none; /* the <input/> elements */
user-select: none; /****************************/
}
于 2013-03-14T23:27:07.020 回答
0
These rules are the reason you can't select the inputs.
* {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
于 2013-03-14T23:27:28.400 回答