Topic: Anyway to disable animations on small screens?
Luisilva premium asked 2 years ago
Hi. I've been implementing some animations on my site. They look great on a big screen (computers) but terrible on smartphones. Is there anyway to disable animations on small screens?
Thank You
Add comment
Grzegorz Bujański staff answered 2 years ago
You can add simple CSS code to disable animation:
@media (max-width: 720px) {
.animation {
animation: none !important;
}
}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.0.0
- Device: all
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No