File tree 2 files changed +37
-0
lines changed 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : docs
3
+ title : Animations
4
+ description : Customize the animation direction of all the different components.
5
+ group : helpers
6
+ aliases : " /docs/5.3/helpers/"
7
+ ---
8
+
9
+ Easily customize ` animation-direction ` s by adding the appropriate class.
10
+
11
+ The available classes:
12
+
13
+ ``` scss
14
+ .animation-direction-normal {
15
+ animation-direction : normal ;
16
+ }
17
+ .animation-direction-reverse {
18
+ animation-direction : reverse ;
19
+ }
20
+ .animation-direction-alternate {
21
+ animation-direction : alternate ;
22
+ }
23
+ .animation-direction-alternate-reverse {
24
+ animation-direction : alternate-reverse ;
25
+ }
26
+ ```
27
+
28
+
29
+
30
+ The following example shows how the class ` animation-direction-reverse ` was used to reverse the animation direction of a spinner-border.
31
+
32
+ {{< example >}}
33
+ <div class =" spinner-border text-primary animation-direction-reverse " role =" status " >
34
+ <span class =" visually-hidden " >Loading...</span >
35
+ </div >
36
+ {{< /example >}}
Original file line number Diff line number Diff line change 101
101
icon : magic
102
102
icon_color : orange
103
103
pages :
104
+ - title : Animations
104
105
- title : Clearfix
105
106
- title : Color & background
106
107
- title : Colored links
You can’t perform that action at this time.
0 commit comments