mirror of
https://github.com/primer/css.git
synced 2024-11-28 22:01:43 +03:00
Add fade out docs
This commit is contained in:
parent
aee148332e
commit
3d47e86305
@ -16,6 +16,13 @@ The `.anim-fade-in` class is used to fade in an element on the page. This will r
|
||||
<span class="anim-fade-in"><%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub!</span>
|
||||
```
|
||||
|
||||
## Fade Out
|
||||
|
||||
The `.anim-fade-out` class is used to fade out an element on the page. This will run once when the element is revealed.
|
||||
|
||||
```html
|
||||
<span class="anim-fade-out"><%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub!</span>
|
||||
|
||||
## Fade Up
|
||||
|
||||
The `.anim-fade-up` class is used to reveal an element on the page by sliding it up from below the fold. You should use this in a container with `overflow: hidden;` or on the bottom of the page.
|
||||
|
Loading…
Reference in New Issue
Block a user