Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使元素不可选择但允许选择文本和输入?
我尝试使用 -moz-user-select 之类的 css,但没有获得令人满意的结果。
正如这里所说:http://htmlcss.wikia.com/wiki/-moz-user-select,-moz-user-select: none应该可以完成这项工作。
-moz-user-select: none