16 345
правок
(Новая страница: «=== Loading === # Create a new SVG panel following the instructions in the Creating an SVG panel. # In the svg panel editor, click the '''As JSON''' button, copy the link description from the saved file and paste the text into the field # Click the '''Save'' button '' at the bottom of the page.») |
(Новая страница: «Syntax: <syntaxhighlight lang="javascript"> (CONDITION) ? 'VALUE1' : 'VALUE2' </syntaxhighlight>») |
||
Строка 286: | Строка 286: | ||
In order for the animation to work, you need to set the element style to the '''animation''' property. | In order for the animation to work, you need to set the element style to the '''animation''' property. | ||
The '''animation''' property sets the animation action parameters (animation duration, repetition, direction, movement type, steps), and the '''@keyframes''' block sets the animation itself in steps (changes in appearance and position). | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> |