Topic: Anyway to disable animations on small screens?

Luisilva premium asked 1 year 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


Grzegorz Bujański staff answered 1 year ago


You can add simple CSS code to disable animation:

@media (max-width: 720px) {
  .animation {
    animation: none !important;
  }
}

Luisilva premium commented 1 year ago

Thank you!!!!!!!!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: 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