mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
css 改名
This commit is contained in:
parent
19400a6422
commit
2432fb2e09
@ -1476,7 +1476,7 @@
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@keyframes resizeSensor {
|
||||
@keyframes apearSensor {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
@ -130,7 +130,6 @@ body {
|
||||
|
||||
&-content {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
@include clearfix();
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user