【发布时间】:2022-09-29 20:07:03
【问题描述】:
当我的灯箱类成为目标时,我想写一个条件 将隐藏滚动类添加到部分类并在我的灯箱未定位时删除隐藏滚动类
{
outline: none;
top: 0;
opacity: 1;
pointer-events: auto;
transition: all 1.2s ease;
-moz-transition: all 1.2s ease;
-ms-transition: all 1.2s ease;
-o-transition: all 1.2s ease;
-webkit-transition: all 1.2s ease;
}
.hidden-scroll{
overflow: hidden;!important;
}
-
请添加您的html代码
标签: javascript html css