frm
Well-known member
While this code on desktop works to make the register button blink, it's only the darker color (which is good too) on mobile or at 374px. Is there a way to make it blink at smaller resolutions too? Trying to see if it draws more conversions.
Edit: Might have to add that this is on XF's default style.
CSS:
/* Blinking registration button */
.p-navgroup-link.p-navgroup-link--register {
-webkit-animation: blinkReg 1s infinite; /* Safari 4+ */
-moz-animation: blinkReg 1s infinite; /* Fx 5+ */
-o-animation: blinkReg 1s infinite; /* Opera 12+ */
animation: blinkReg 1s infinite; /* IE 10+, Fx 29+ */
}
@-webkit-keyframes blinkReg {
0%, 49% {
background-color: fade(@xf-paletteNeutral3, 15%);
}
50%, 100% {
background-color: #ad0338;
}
}
Edit: Might have to add that this is on XF's default style.
Last edited: