-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add animation effects when inserting blocks into the database #9092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
这个动画的目的是什么?老实说现在的效果有点奇怪,有点过度动画了。 |
减少卡顿感。
…---Original---
From: ***@***.***>
Date: Fri, Sep 22, 2023 14:10 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [siyuan-note/siyuan] Add animation effects when inserting blocksinto the database (Issue #9092)
这个动画的目的是什么?老实说现在的效果有点奇怪,有点过度动画了。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
这个动画效果在属性视图里太突兀了,建议改成 骨架屏 Skeleton 的那种风格。 |
那是什么风格? |
动态有点卡,这是视频: pd.mp4 |
收到,稍后再改改 |
使用的css代码见下: .av__row.loading {
background: linear-gradient( 100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60% ) var(--b3-theme-background-light);
background-size: 200% 100%;
background-position-x: 180%;
animation: 1s loading ease-in-out infinite;
}
@keyframes loading {
to {
background-position-x: -20%;
}
} 实际使用的背景色可能还要淡一点。 |
多谢,已提交。看看满意否 |
感觉不错。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: