> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/form-designer/form-settings/single-question-flow/animation-transitions.md).

# انتقالات الرسوم المتحركة للتدفق

باستخدام انتقال الرسوم المتحركة للتدفق يمكنك تكوين كيفية انتقال الأسئلة من سؤال لآخر. ولأن ngSurvey يستخدم ميزات CSS العادية للرسوم المتحركة في انتقالاته، يمكنك بسهولة توسيعه لتضمين تأثيراتك المتحركة الخاصة،

ستجد أدناه أمثلة على انتقالات الرسوم المتحركة الافتراضية المدمجة في ngSurvey. لتحديد أي الرسوم المتحركة يجب استخدامها في انتقالاتك، ستحتاج إلى ضبط خاصية Questions transition CSS على [خصائص الاستبيان الخاص بك](/ar/form-management/form-designer/form-settings.md).

{% hint style="info" %}
لتخزين انتقالات CSS التي تم إنشاؤها حديثًا والقدرة على استخدامها في استبيانك ستحتاج إلى إضافتها إلى [theme style CSS](/ar/form-management/style-branding/style-editor/css.md#adding-css).&#x20;
{% endhint %}

## 🏃 كيف يعمل؟

للتعامل مع الانتقالات سيضيف ngSurvey فئات CSS التالية على أسئلة الاستبيان اعتمادًا على ترتيب عرضها الحالي. بمجرد أن ينتقل المستجيب إلى السؤال التالي أو السابق سيقوم ngSurvey بتبديل فئة CSS وتفعيل الانتقال بين الفئات. &#x20;

الـ **ngs-survey\_\_flow-section--visible** فئة css سيتم تطبيقها على السؤال الظاهر حاليًا، وسيتم تعيين فئة css للسؤال السابق إلى **ngs-survey\_\_flow-section--previous** والسؤال التالي ستُعيّن له فئة css **ngs-survey\_\_flow-section--next**.&#x20;

## ⌛ انتقالات CSS

خارج الصندوق يعيّن ngSurvey خصائص انتقال CSS التالية عند تبديل فئات CSS. إذا رغبت في تغيير التوقيت أو إضافة خصائص انتقال إضافية لتأثيراتك الخاصة يمكنك تخصيص فئة CSS أدناه وإضافتها إلى [theme style CSS](/ar/form-management/style-branding/style-editor/css.md#adding-css).&#x20;

```css
.ngs-survey__flow-section {
    transition: transform .5s ease 0s,opacity .4s ease 0s;    
}
```

## 🖼️ انتقال عمودي (من الأعلى إلى الأسفل)

لاستخدام هذا الانتقال ستضبط خاصية Question CSS على : vertical

```css
.vertical.ngs-survey__flow-section--visible
{
 opacity:1
}

.vertical.ngs-survey__flow-section--previous
{
 transform:translateY(-50vh) translateZ(0);
 opacity:0
}

.vertical.ngs-survey__flow-section--next
{
 transform:translateY(100vh) translateZ(0);
 opacity:0
}
```

## 🖼️ انتقال أفقي (من اليسار إلى اليمين)

لاستخدام هذا الانتقال ستضبط خاصية Question CSS على : horizontal

```css
.horizontal.ngs-survey__flow-section--visible
{
 opacity:1
}

.horizontal.ngs-survey__flow-section--previous
{
 transform:translateX(-50vh) translateZ(0);
 opacity:0
}

.horizontal.ngs-survey__flow-section--next
{
 transform:translateX(100vh) translateZ(0);
 opacity:0
}
```

## &#x20;🖼️ انتقال تلاشي (Fade in / out)

لاستخدام هذا الانتقال ستضبط خاصية Question CSS على : fadein

```css
.fadein.ngs-survey__flow-section--visible
{
 opacity:1
}

.fadein.ngs-survey__flow-section--previous
{
 opacity:0
}

.fadein.ngs-survey__flow-section--next
{
 opacity:0
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/ar/form-management/form-designer/form-settings/single-question-flow/animation-transitions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
