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.
我有一个元素<div>覆盖它以显示网格。我希望让网格保持在这个元素的顶部,但让元素中的所有内容仍然可以操作和交互(链接、选择文本等)。
<div>
我将如何编码?
添加pointer-events:none;到 CSS
pointer-events:none;
请参阅此示例http://jsfiddle.net/Zjq6H/