mirror of
https://github.com/chaoming/hugo-saasify-theme.git
synced 2025-04-20 05:51:54 +02:00
Speed up client logos and testimonials animations on mobile view
This commit is contained in:
parent
745accd112
commit
e62cf189a3
2 changed files with 14 additions and 0 deletions
|
@ -70,4 +70,11 @@
|
|||
.logo-scroll:hover .logos-slide.animate {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
/* Mobile-specific animation speed */
|
||||
@media (max-width: 768px) {
|
||||
.logos-slide.animate {
|
||||
animation: 15s slide infinite linear;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -85,4 +85,11 @@
|
|||
.testimonials-container:hover .testimonials-track.animate {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
/* Mobile-specific animation speed */
|
||||
@media (max-width: 768px) {
|
||||
.testimonials-track.animate {
|
||||
animation: 15s testimonials-scroll infinite linear;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue