- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
<a href="/gift" id="floating-gift" alt='rosetta stone gift' title='Give Rosetta Stone as a gift'></a>
<style>
#floating-gift {
width: 70px;
height: 70px;
border-radius: 50px;
position: fixed;
left: 5vw;
top: 48vh;
box-shadow: 0 0 0 30px rgba(0,0,0, 0.2);
animation: pulse 1.5s infinite;
background: url(http://rosettastone.com/lp/gift/assets/gift-white.png) no-repeat #B61C00 center;
background-size: 40%;
}
#floating-gift:hover {
animation: none;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0px rgba(0,0,0, 0.2);
transform: scale(.9)
}
70% {
transform: scale(1);
box-shadow: 0 0 0 30px rgba(0,0,0, 0)
}
100% {
transform: scale(.9);
box-shadow: 0 0 0 30px rgba(0,0,0, 0)
}
}
</style>