Template 2.X Effet de Pulsation sur le bouton d'inscription (Register)

BadAss

N00BY BLEU
Supяêmε
11/6/17
102
48
263
#1
Pour faire cette effet :


Ajoutez dans votre "extra.less" ce code :
[HIDETHANKS]
CSS:
/* PULSE ANIMATION */
.pulse {
    position: relative;
  box-shadow: 0 0 0 0 rgba(232, 76, 61, 0.7);
  cursor: pointer;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}
.pulse:hover {
  -webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
}

@-webkit-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
[/HIDETHANKS]

Enregistrez, et cherchez ce code dans votre "PAGE_CONTAINER" :
[HIDE]
CSS:
<span class="p-navgroup-linkText">{{ phrase('register') }}</span>
Remplacez le par ce code ci-dessous :
CSS:
<span class="p-navgroup-linkText"><span class="pulse">{{ phrase('register') }}</span></span>
[/HIDE]

Enregistrez et admirez ;)

CSS Effect Source : https://codepen.io/wifeo/pen/KwdXwV