1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 12:42:32 +03:00

hover grow docs

This commit is contained in:
Sophie Shepherd 2017-10-19 12:10:29 -05:00
parent 12bd248ea9
commit c18b8d0838

View File

@ -55,3 +55,13 @@ The `.anim-pulse` class will pulse an element infinitely.
```html
<%= octicon("mark-github", :class => "anim-pulse") %>
```
## Hover animation
The `.hover-grow` class will increase the scale of the element upon hover.
```html
<div class="box hover-grow p-4">
<%= octicon("mark-github"), :height => 32 %>
</div>
```