Aos: Disable: mobile

Created on 30 Jul 2018  路  4Comments  路  Source: michalsnik/aos

Can disable: phone or disable: mobile be used on a per element basis (not global)?

feature request

Most helpful comment

If not, would be nice to see data-aos-disable attribute option.

All 4 comments

If not, would be nice to see data-aos-disable attribute option.

Yap +1 @simmonsr i already thought if that will be possible on an element and not globally... that's a nice idea

I have a little workaround for you guys, you can just wrap your aos-scss (_animations.scss) or compiled css inside a Media Query which excludes mobile devices so only the class gets toggled but nothing happens. Or you can set a default animation for mobile devices too. Hope it helps

Would just be easier to have it be an per element basis. The developer is considering it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VeronikaMilic picture VeronikaMilic  路  4Comments

Ahearys picture Ahearys  路  4Comments

halverson picture halverson  路  4Comments

timotheegoguely picture timotheegoguely  路  3Comments

skube picture skube  路  4Comments