pointer-events:none;

.text{background-color:#333;color:#FFF;transform:translateX(-100%);opacity:0;transition:.35s;

pointer-events:none;/*阻止鼠标在该元素身上执行效果。*/

}

你可能感兴趣的:(pointer,events,none)