Skip to content

Commit a7a01a6

Browse files
committed
Merge branch 'pr-1859'
2 parents 7a060b3 + f023314 commit a7a01a6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ This project and everyone participating in it is governed by the [Contributor Co
4646
## Contributing
4747

4848
Pull requests are the way to go here. We only have two rules for submitting a pull request: match the naming convention (camelCase, categorised [fades, bounces, etc]) and let us see a demo of submitted animations in a [pen](https://codepen.io). That **last one is important**.
49+
50+
- `shake-fade`: new subtle shake + fade animation (added by @Nafisa-tamboli)

animate.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4093,3 +4093,21 @@ body{
40934093
-webkit-animation-name: slideOutUp;
40944094
animation-name: slideOutUp;
40954095
}
4096+
@keyframes shakeFade {
4097+
0% {
4098+
transform: translateX(0);
4099+
opacity: 1;
4100+
}
4101+
50% {
4102+
transform: translateX(-10px);
4103+
opacity: 0.5;
4104+
}
4105+
100% {
4106+
transform: translateX(0);
4107+
opacity: 1;
4108+
}
4109+
}
4110+
4111+
.shake-fade {
4112+
animation-name: shakeFade;
4113+
}

0 commit comments

Comments
 (0)