theremotedr
07-30-2013, 12:24 PM
I am using the code below.
Currently its blinking on & off on & off etc etc
What i would like is a tweak/extra code added so it blinks on then the text stays visable for a while then off etc etc
The visable text part would need some kind of code so i can change a value to then have it say 1 second visable or 2 seconds visable etc.
Many thanks.
<!--===========================================================-->
<!-- Blinking code below -->
<!--===========================================================-->
#fast {
animation: blink 300ms linear infinite;
-moz-animation: blink 300ms linear infinite;
-webkit-animation: blink 300ms linear infinite;
text-align: center;
}
#regular {
animation: blink 750ms linear infinite;
-moz-animation: blink 750ms linear infinite;
-webkit-animation: blink 750ms linear infinite;
text-align: center;
}
#slow {
animation: blink 1500ms linear infinite;
-moz-animation: blink 1500ms linear infinite;
-webkit-animation: blink 1500ms linear infinite;
text-align: center;
}
@keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
@-moz-keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
@-webkit-keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
<!--============================================================-->
<!-- End blinking code -->
<!--============================================================-->
<u><b><font face="Arial Black" size="5" color="#FFFFFF"><div id="slow">
** PUT YOUR TEXT TO FLASH HERE **</div></font></b></u>
Currently its blinking on & off on & off etc etc
What i would like is a tweak/extra code added so it blinks on then the text stays visable for a while then off etc etc
The visable text part would need some kind of code so i can change a value to then have it say 1 second visable or 2 seconds visable etc.
Many thanks.
<!--===========================================================-->
<!-- Blinking code below -->
<!--===========================================================-->
#fast {
animation: blink 300ms linear infinite;
-moz-animation: blink 300ms linear infinite;
-webkit-animation: blink 300ms linear infinite;
text-align: center;
}
#regular {
animation: blink 750ms linear infinite;
-moz-animation: blink 750ms linear infinite;
-webkit-animation: blink 750ms linear infinite;
text-align: center;
}
#slow {
animation: blink 1500ms linear infinite;
-moz-animation: blink 1500ms linear infinite;
-webkit-animation: blink 1500ms linear infinite;
text-align: center;
}
@keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
@-moz-keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
@-webkit-keyframes blink { 0% {opacity:0;} 50% {opacity:1;} 100% {opacity:0;} }
<!--============================================================-->
<!-- End blinking code -->
<!--============================================================-->
<u><b><font face="Arial Black" size="5" color="#FFFFFF"><div id="slow">
** PUT YOUR TEXT TO FLASH HERE **</div></font></b></u>