css 改名

This commit is contained in:
liaoxuezhi 2019-11-13 17:21:12 +08:00
parent 19400a6422
commit 2432fb2e09
3 changed files with 2 additions and 3 deletions

View File

@ -1476,7 +1476,7 @@
word-wrap: break-word;
}
@keyframes resizeSensor {
@keyframes apearSensor {
from {
opacity: 0;
}

View File

@ -130,7 +130,6 @@ body {
&-content {
height: 100%;
position: relative;
@include clearfix();
}

View File

@ -53,7 +53,7 @@ function attachResizeEvent(element: HTMLElement, resized: Function) {
<div class="resize-sensor-shrink" style="${style}">
<div style="${styleChild} width: 200%; height: 200%"></div>
</div>
<div class="resize-sensor-appear" style="${style}animation-name: resizeSensor; animation-duration: 0.2s;"></div>`;
<div class="resize-sensor-appear" style="${style}animation-name: apearSensor; animation-duration: 0.2s;"></div>`;
// 要定义 resizeSensor 这个动画,靠这个监听出现。
element.appendChild(resizeSensor);