forked from rajun/ar-test
feat: add float and fade-up keyframe animations
This commit is contained in:
parent
48b41df220
commit
3d666703e0
10
app/app.css
10
app/app.css
@ -58,3 +58,13 @@ model-viewer {
|
||||
color: rgb(156 163 175); /* gray-400 */
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-12px); }
|
||||
}
|
||||
|
||||
@keyframes fade-up {
|
||||
from { opacity: 0; transform: translateY(12px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user