Shake Effect
Description: Shakes the element multiple times, vertically or horizontally.
-
shake
-
direction (default:
"left"
)Type: StringA value of"left"
or"right"
will shake the element horizontally, and a value of"up"
or"down"
will shake the element vertically. The value specifies which direction the element should move along the axis for the first step of the effect. -
distance (default:
20
)Type: NumberDistance to shake. -
times (default:
3
)Type: IntegerTimes to shake.
-
Example:
Shake a div.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
|