📜  悬停时闪烁的隐藏元素 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:44.128000             🧑  作者: Mango

代码示例1
/*You want the added element to ignore pointer events - having the
mouse interact with the newly displayed .details element is
causing the :hover style rule to be broken (as the .details element
is now blocking the figure:hover).*/

.tile-body:hover+.delete {
 display: block;
 pointer-events:none;
}