From 980fe00a74a9ad013b945755415ace2e5429c3c2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:31:24 +0300 Subject: [RU] Remove notranslate (#2874) --- files/ru/web/css/touch-action/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/ru/web/css/touch-action') diff --git a/files/ru/web/css/touch-action/index.html b/files/ru/web/css/touch-action/index.html index ab1982d906..3562521aa9 100644 --- a/files/ru/web/css/touch-action/index.html +++ b/files/ru/web/css/touch-action/index.html @@ -7,7 +7,7 @@ translation_of: Web/CSS/touch-action

Css-свойство touch-action указывает как элемент будет управляться через тачскрин (например, при помощи возможности приближения (zooming), встроенной в браузер).

-
/* Keyword values */
+
/* Keyword values */
 touch-action: auto;
 touch-action: none;
 touch-action: pan-x;
@@ -68,14 +68,14 @@ touch-action: unset;
 
 

The most common usage is to disable all gestures on an element (and its non-scrollable descendants) that provides its own dragging and zooming behavior – such as a map or game surface. 

-
#map {
+
#map {
   touch-action: none;
 }
 

Another common pattern is that of an image carousel which uses pointer events to handle horizontal panning, but doesn't want to interfere with vertical scrolling or zooming of the document.

-
.image-carousel {
+
.image-carousel {
   width: 100%;
   height: 150px;
   touch-action: pan-y pinch-zoom;
@@ -84,7 +84,7 @@ touch-action: unset;
 
 

touch-action is also often used to completely disable the delay of click events caused by support for the double-tap to zoom gesture.

-
html {
+
html {
   touch-action: manipulation;
 }
 
-- cgit v1.2.3-54-g00ecf