Un usuario pregunt贸 馃憞
Hola
驴Alguien sabe c贸mo eliminar la animaci贸n para dispositivos m贸viles?
Lo intent茅
@media solo pantalla y (ancho m谩ximo: 768px) {.animated {all: unset; }}
/ * Pantalla de dispositivo peque帽o * / @media solamente y (ancho m谩ximo: 767px) {.animated {all: unset; }}
pero no funciono
(@cavalierlife)
Hace 1 a帽o, 11 meses
Esto fue publicado en un grupo de Facebook. Puedes probarlo y ver si funciona:
/* Disable on Small Devices, Tablets */
@media only screen and (max-width : 768px) {
.animated {
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
}
For disable on phone only, but still active on tablets:
/* Small Devices, /
@media only screen and (max-width : 767px) {
.animated {
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
}
(@garteth)
Hace 1 a帽o, 10 meses
Lamentablemente, esto tampoco funcion贸.
(@lisaelementor)
Hace 1 a帽o, 10 meses
Hola @garteth,
Solo puede replicar la parte configurada para la visualizaci贸n de escritorio con animaci贸n y la 煤ltima para mostrarla en un tel茅fono m贸vil sin animaci贸n 煤nicamente.
(@garteth)
Hace 1 a帽o, 10 meses
Parece que funcionar铆a, pero parece ser un modo hinchado.
驴Solucion贸 tu problema??
0 / 0