Added subtle animation to donate button

This commit is contained in:
Dan Leech 2015-10-19 17:37:26 +01:00
parent 8b1731b2dd
commit 375d69cc14
3 changed files with 39 additions and 0 deletions

View File

@ -69,8 +69,21 @@
padding: 0 0 1.5rem;
text-align: center;
}
@keyframes pulse {
0% {
background-color: #CCC;
}
50% {
background-color: #AAA;
}
100% {
background-color: #CCC;
}
}
.donate-button {
-webkit-appearance: none;
animation: pulse 2.5s infinite;
animation-timing-function: ease-in-out;
background: #CCC;
border: 0;
border-radius: 1.5rem;

View File

@ -69,8 +69,21 @@
padding: 0 0 1.5rem;
text-align: center;
}
@keyframes pulse {
0% {
background-color: #CCC;
}
50% {
background-color: #AAA;
}
100% {
background-color: #CCC;
}
}
.donate-button {
-webkit-appearance: none;
animation: pulse 2.5s infinite;
animation-timing-function: ease-in-out;
background: #CCC;
border: 0;
border-radius: 1.5rem;

View File

@ -69,8 +69,21 @@
padding: 0 0 1.5rem;
text-align: center;
}
@keyframes pulse {
0% {
background-color: #CCC;
}
50% {
background-color: #AAA;
}
100% {
background-color: #CCC;
}
}
.donate-button {
-webkit-appearance: none;
animation: pulse 2.5s infinite;
animation-timing-function: ease-in-out;
background: #CCC;
border: 0;
border-radius: 1.5rem;