I tried to get the Flashing text effect in the module. I used this code in the custom.css file:
.blink {
animation-duration: 1s;
animation-iteration-count: infinite;
animation-name: blink;
}
@keyframes blink {
0% {opacity: 1;}
75% {opacity: 1;}
76% {opacity: 0;}
100% {opacity: 0;}
}
and in the ID124 module two attempts to solve:
<p> <span class = "blink"> +48 732-608-608 </span> </p>
<script type = "text / javascript" charset = "utf-8">
var int = self.setInterval ("flash ()", 3000);
function flash () {
$ ('. flickering'). fadeOut ('normal', function () {
$ ( '. Flicker "). FadeIn (' normal ');
});
}
</ Script>
<span class = "flickering"> Flashing </span>
Unfortunately, none of these functions work. Please help,